Commit 9c851397 authored by jplang's avatar jplang

Adds a flash message when deleting a board (#24535).

Patch by Javier Menéndez.

git-svn-id: https://svn.redmine.org/redmine/trunk@16166 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 49f6d981
......@@ -102,7 +102,9 @@ class BoardsController < ApplicationController
end
def destroy
@board.destroy
if @board.destroy
flash[:notice] = l(:notice_successful_delete)
end
redirect_to_settings_in_projects
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