diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index fc8d4d02ddf1b8ae792cbccbb2202c79e770f256..5885b3543bba95389e0a8a69868f31d16c8c41f2 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 diff --git a/changelogs/unreleased/21683-show-created-group-name-flash.yml b/changelogs/unreleased/21683-show-created-group-name-flash.yml new file mode 100644 index 0000000000000000000000000000000000000000..06ef5e972fce3c5cee45f0a9bd187c7349f523f6 --- /dev/null +++ b/changelogs/unreleased/21683-show-created-group-name-flash.yml @@ -0,0 +1,4 @@ +--- +title: Show group name on flash container when group is created from Admin area. +merge_request: 10905 +author: