Commit 72a57172 authored by Valeriy Sizov's avatar Valeriy Sizov

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

show flash notice after deletion of a project
parents 3ac840ff 990b9217
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment