summaryrefslogtreecommitdiff
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-24 22:42:52 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-24 22:42:52 +0300
commit5a3d4cb6349c430ec1be6842f9b37204e0386cd7 (patch)
tree2355e5a3a1be7d46c66b816158202cc3edabb33f /app/controllers/groups_controller.rb
parent9a00bbda89ab22f533db725e751ad46ff68c2cbe (diff)
downloadgitlab-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.rb1
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.'