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

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])
redirect_to admin_projects_url
redirect_to admin_projects_url, notice: 'Project was successfully deleted.'
Supports Markdown
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