diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-24 22:42:52 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-24 22:44:51 +0300 |
commit | 1ac6078b051da30d26185ba95933d21f30bb73fc (patch) | |
tree | de032559cbb959ec1ce15b61d8949de258a9e351 | |
parent | 86c9737307fb2fe61f5e4c2dab79d1cf08c4bdac (diff) | |
download | gitlab-ce-1ac6078b051da30d26185ba95933d21f30bb73fc.tar.gz |
Fixed 500 error when try to remove group
-rw-r--r-- | app/controllers/groups_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 1190dd40b73..60fc3f6b551 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -87,7 +87,6 @@ class GroupsController < ApplicationController end def destroy - @group.truncate_teams @group.destroy redirect_to root_path, notice: 'Group was removed.' |