summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2017-04-25 12:43:21 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-04-25 12:43:21 +0000
commit848204ba7434386d15be895f293aa1e8d83340b7 (patch)
tree5f95ba69a9ad40d200e31ab131d5caf5d683a946 /app/controllers
parent6dc424c949ab3de9395d821b05d2e1cc5f632ed2 (diff)
downloadgitlab-ce-848204ba7434386d15be895f293aa1e8d83340b7.tar.gz
Show group name on flash container when group is created from Admin area
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin/groups_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb
index fc8d4d02ddf..5885b3543bb 100644
--- a/app/controllers/admin/groups_controller.rb
+++ b/app/controllers/admin/groups_controller.rb
@@ -28,7 +28,7 @@ class Admin::GroupsController < Admin::ApplicationController
if @group.save
@group.add_owner(current_user)
- redirect_to [:admin, @group], notice: 'Group was successfully created.'
+ redirect_to [:admin, @group], notice: "Group '#{@group.name}' was successfully created."
else
render "new"
end