1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-17 17:12:03 +00:00

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

Patch by Javier Menéndez.

git-svn-id: http://svn.redmine.org/redmine/trunk@16166 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-01-08 22:51:12 +00:00
parent f0c9c0ef23
commit 583ee1c8c5

View File

@ -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