Commit 5a3d4cb6349c430ec1be6842f9b37204e0386cd7

Authored by Dmitriy Zaporozhets
1 parent 9a00bbda

Fixed 500 error when try to remove group

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
app/controllers/groups_controller.rb
@@ -87,7 +87,6 @@ class GroupsController < ApplicationController @@ -87,7 +87,6 @@ class GroupsController < ApplicationController
87 end 87 end
88 88
89 def destroy 89 def destroy
90 - @group.truncate_teams  
91 @group.destroy 90 @group.destroy
92 91
93 redirect_to root_path, notice: 'Group was removed.' 92 redirect_to root_path, notice: 'Group was removed.'