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:
parent
f0c9c0ef23
commit
583ee1c8c5
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user