Software Público Brasileiro
Portal do
Software Público Brasileiro
Cadastre-se
Entrar
×
Project
Files
Commits
Network
Graphs
Issues
3
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
1ac6078b051da30d26185ba95933d21f30bb73fc
Authored by
Dmitriy Zaporozhets
2013-08-24 22:42:52 +0300
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
Side-by-side Diff
Inline Diff
app/controllers/groups_controller.rb
Wrap text
Diff comments
View file @
1ac6078
...
...
@@ -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.'
...
...