Commit 1ac6078b051da30d26185ba95933d21f30bb73fc

Authored by Dmitriy Zaporozhets
1 parent 86c97373

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 87 end
88 88  
89 89 def destroy
90   - @group.truncate_teams
91 90 @group.destroy
92 91  
93 92 redirect_to root_path, notice: 'Group was removed.'
... ...