Method: Effective::WizardController::BeforeActions#assign_resource
- Defined in:
- app/controllers/concerns/effective/wizard_controller/before_actions.rb
#assign_resource ⇒ Object
before_action :assign_resource, only: [:show, :update] Assigns the resource
20 21 22 |
# File 'app/controllers/concerns/effective/wizard_controller/before_actions.rb', line 20 def assign_resource self.resource ||= find_wizard_resource end |