From feb2865fba15524c7dd1ae03274c63ae02edd152 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Thu, 30 Jul 2015 14:11:26 +0300 Subject: [PATCH] Raise alert when group is deleted. This change was made to match the project deletion. --- app/controllers/groups_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 784cb0f8f7..279c6ef0f4 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -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