show flash notice after deletion of a project
This commit is contained in:
parent
b110c6bc86
commit
990b9217d9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue