summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2015-07-30 14:11:26 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2015-07-30 14:11:26 +0300
commitfeb2865fba15524c7dd1ae03274c63ae02edd152 (patch)
tree5480208e875870c9accad0382902dbf69797f85b
parent0fac66f84d85eb072f2d96a54820ac805799c5f3 (diff)
downloadgitlab-ce-feb2865fba15524c7dd1ae03274c63ae02edd152.tar.gz
Raise alert when group is deleted.
This change was made to match the project deletion.
-rw-r--r--app/controllers/groups_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 784cb0f8f7e..279c6ef0f4d 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -84,7 +84,7 @@ class GroupsController < Groups::ApplicationController
def destroy
DestroyGroupService.new(@group, current_user).execute
- redirect_to root_path, notice: "Group '#{@group.name} was deleted."
+ redirect_to root_path, alert: "Group '#{@group.name} was deleted."
end
protected