Class: RushJob::SettingsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RushJob::SettingsController
- Defined in:
- app/controllers/rush_job/settings_controller.rb
Instance Method Summary collapse
Instance Method Details
#update ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/rush_job/settings_controller.rb', line 3 def update change_setting if Settings::RUSH_JOB_SETTINGS[params[:setting]&.to_sym] redirect_to root_path end |