Skip to content

Commit 72a5717

Browse files
committed
Merge pull request gitlabhq#1096 from moregeek/show-flash-note-when-destroying-a-project
show flash notice after deletion of a project
2 parents 3ac840f + 990b921 commit 72a5717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/admin/projects_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ def destroy
7272
@admin_project = Project.find_by_code(params[:id])
7373
@admin_project.destroy
7474

75-
redirect_to admin_projects_url
75+
redirect_to admin_projects_url, notice: 'Project was successfully deleted.'
7676
end
7777
end

0 commit comments

Comments
 (0)