Method: Effective::WizardController::BeforeActions#assign_current_step

Defined in:
app/controllers/concerns/effective/wizard_controller/before_actions.rb

#assign_current_stepObject

before_action :assign_current_step, only: [:show, :update] Assign the current step to resource



78
79
80
# File 'app/controllers/concerns/effective/wizard_controller/before_actions.rb', line 78

def assign_current_step
  resource.current_step = step.to_sym
end