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:42:52 +0300 |
commit | 5a3d4cb6349c430ec1be6842f9b37204e0386cd7 (patch) | |
tree | 2355e5a3a1be7d46c66b816158202cc3edabb33f /app/controllers/groups_controller.rb | |
parent | 9a00bbda89ab22f533db725e751ad46ff68c2cbe (diff) | |
download | gitlab-ce-5a3d4cb6349c430ec1be6842f9b37204e0386cd7.tar.gz |
Fixed 500 error when try to remove group
Diffstat (limited to 'app/controllers/groups_controller.rb')
-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.' |