Commit 5a3d4cb6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed 500 error when try to remove group

parent 9a00bbda
......@@ -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