Commit feb2865f authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Raise alert when group is deleted.

This change was made to match the project deletion.
parent 0fac66f8
...@@ -84,7 +84,7 @@ class GroupsController < Groups::ApplicationController ...@@ -84,7 +84,7 @@ class GroupsController < Groups::ApplicationController
def destroy def destroy
DestroyGroupService.new(@group, current_user).execute 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 end
protected protected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment