Class: AirbrakeProjectSettingsController

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

Overview

Controller for project-specific airbrake settings

Instance Method Summary collapse

Instance Method Details

#updateObject



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

def update
  flash[:notice] = l(:notice_successful_update) if @airbrake_project_setting.update(airbrake_project_setting_params)

  redirect_to settings_project_path(@project, tab: 'airbrake')
end