Commit 1ac6078b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed 500 error when try to remove group

parent 86c97373
......@@ -87,7 +87,6 @@ class GroupsController < ApplicationController
end
def destroy
@group.truncate_teams
@group.destroy
redirect_to root_path, notice: 'Group was removed.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment