Class: Masks::Manage::BaseController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Masks::Manage::BaseController
- Defined in:
- app/controllers/masks/manage/base_controller.rb
Direct Known Subclasses
ActorsController, ClientsController, DashboardController, DevicesController
Instance Attribute Summary collapse
-
#section ⇒ Object
Returns the value of attribute section.
Class Method Summary collapse
Methods included from Controller
#current_access, #current_actor, #current_mask, #masked_session
Instance Attribute Details
#section ⇒ Object
Returns the value of attribute section.
17 18 19 |
# File 'app/controllers/masks/manage/base_controller.rb', line 17 def section @section end |
Class Method Details
.section(name) ⇒ Object
10 11 12 |
# File 'app/controllers/masks/manage/base_controller.rb', line 10 def section(name) before_action { @section = name } end |