Commit 72a571724d84d112f98a5543c971e9b3b9da1383

Authored by Valeriy Sizov
2 parents 3ac840ff 990b9217

Merge pull request #1096 from moregeek/show-flash-note-when-destroying-a-project

show flash notice after deletion of a project
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/admin/projects_controller.rb
@@ -72,6 +72,6 @@ class Admin::ProjectsController < ApplicationController @@ -72,6 +72,6 @@ class Admin::ProjectsController < ApplicationController
72 @admin_project = Project.find_by_code(params[:id]) 72 @admin_project = Project.find_by_code(params[:id])
73 @admin_project.destroy 73 @admin_project.destroy
74 74
75 - redirect_to admin_projects_url 75 + redirect_to admin_projects_url, notice: 'Project was successfully deleted.'
76 end 76 end
77 end 77 end