Class: AirbrakeProjectSettingsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/airbrake_project_settings_controller.rb

Instance Method Summary collapse

Instance Method Details

#updateObject



7
8
9
10
11
12
13
14
# File 'app/controllers/airbrake_project_settings_controller.rb', line 7

def update
  @airbrake_project_setting.safe_attributes = params[:airbrake_project_setting]

  @airbrake_project_setting.save

  flash[:notice] = l(:notice_successful_update)
  redirect_to settings_project_path(@project, :tab => 'airbrake')
end