Patch #24535 » boards_controller_destroy.patch
| app/controllers/boards_controller.rb (revision ) | ||
|---|---|---|
| 103 | 103 |
end |
| 104 | 104 | |
| 105 | 105 |
def destroy |
| 106 |
@board.destroy |
|
| 106 |
if @board.destroy |
|
| 107 |
flash[:notice] = l(:notice_successful_delete) |
|
| 108 |
end |
|
| 107 | 109 |
redirect_to_settings_in_projects |
| 108 | 110 |
end |
| 109 | 111 | |