Class: Boar::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Boar::ApplicationController
- Defined in:
- app/controllers/boar/application_controller.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#boar_options ⇒ Object
readonly
Returns the value of attribute boar_options.
Instance Method Summary collapse
Instance Attribute Details
#boar_options ⇒ Object (readonly)
Returns the value of attribute boar_options.
9 10 11 |
# File 'app/controllers/boar/application_controller.rb', line 9 def @boar_options end |
Instance Method Details
#setup_boar_options ⇒ Object
12 13 14 |
# File 'app/controllers/boar/application_controller.rb', line 12 def @boar_options ||= params.delete(:boar_options) end |