Project

General

Profile

Patch #24535 » boards_controller_destroy.patch

Javier Menéndez Rizo, 2016-12-05 19:50

View differences:

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

  
    (1-1/1)