Show group name on flash container when group is created from Admin area

This commit is contained in:
Kushal Pandya 2017-04-25 12:43:21 +00:00 committed by Sean McGivern
parent 6dc424c949
commit 848204ba74
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
---
title: Show group name on flash container when group is created from Admin area.
merge_request: 10905
author: