Class: Masks::Manage::BaseController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/masks/manage/base_controller.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Controller

#current_access, #current_actor, #current_mask, #masked_session

Instance Attribute Details

#sectionObject

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