diff options
author | moregeek <unmonitored@guerilladesigns.com> | 2012-07-16 16:01:32 +0400 |
---|---|---|
committer | moregeek <unmonitored@guerilladesigns.com> | 2012-07-16 16:01:32 +0400 |
commit | 990b9217d9a55e26a53d4143d4a3c89123384327 (patch) | |
tree | b840d14518bd75adcfa85a79fb882241822a0e31 /app/controllers/admin | |
parent | b110c6bc869d49089dc00abef53849765653d49b (diff) |
show flash notice after deletion of a project
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb index 5266b406504..c0508428275 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 |