Class: Hephaestus::SettingsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Hephaestus::SettingsController
- Defined in:
- app/controllers/hephaestus/settings_controller.rb
Constant Summary
Constants included from Headers
Headers::EVENT_AFTER_CREATE, Headers::EVENT_AFTER_DESTROY, Headers::EVENT_AFTER_RENAME, Headers::EVENT_AFTER_UPDATE, Headers::EVENT_AFTER_VIEW, Headers::HEADER_EVENT, Headers::HEADER_RECORD_TYPE, Headers::HEADER_SIGNATURE, Headers::RECORD_TYPE_CONVERSATION, Headers::RECORD_TYPE_INBOX, Headers::RECORD_TYPE_MESSAGE, Headers::RECORD_TYPE_ORGANIZATION, Headers::RECORD_TYPE_PLUG_INSTALLATION, Headers::YETTO_DELIVERY_ID
Instance Method Summary collapse
Methods inherited from ApplicationController
#ensure_json_request, #parse_state
Methods included from Responses
#bad_gateway, #bad_request, #created, #forbidden, #internal_server_error, #no_content, #not_acceptable, #not_found, #okay, #service_unavailable
Instance Method Details
#edit ⇒ Object
13 14 |
# File 'app/controllers/hephaestus/settings_controller.rb', line 13 def edit end |
#new ⇒ Object
8 9 10 11 |
# File 'app/controllers/hephaestus/settings_controller.rb', line 8 def new set_step render("settings/new") end |
#set_step ⇒ Object
16 17 18 |
# File 'app/controllers/hephaestus/settings_controller.rb', line 16 def set_step @step = params.fetch(:step, 1).to_i || 1 end |