From 990b9217d9a55e26a53d4143d4a3c89123384327 Mon Sep 17 00:00:00 2001 From: moregeek <unmonitored@guerilladesigns.com> Date: Mon, 16 Jul 2012 14:01:32 +0200 Subject: [PATCH] show flash notice after deletion of a project --- app/controllers/admin/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb index 5266b40650..c050842827 100644 --- a/app/controllers/admin/projects_controller.rb +++ b/app/controllers/admin/projects_controller.rb @@ -72,6 +72,6 @@ class Admin::ProjectsController < ApplicationController @admin_project = Project.find_by_code(params[:id]) @admin_project.destroy - redirect_to admin_projects_url + redirect_to admin_projects_url, notice: 'Project was successfully deleted.' end end -- 2.30.9