瀏覽代碼

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
tags/3.4.0
Jean-Philippe Lang 7 年之前
父節點
當前提交
583ee1c8c5
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      app/controllers/boards_controller.rb

+ 3
- 1
app/controllers/boards_controller.rb 查看文件

@@ -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…
取消
儲存