Raise alert when group is deleted.

This change was made to match the project deletion.
This commit is contained in:
Achilleas Pipinellis
2015-07-30 14:11:26 +03:00
parent 0fac66f84d
commit feb2865fba
+1 -1
View File
@@ -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