Module: Wicked::Wizard
- Extended by:
- ActiveSupport::Concern
- Includes:
- Controller::Concerns::Path, Controller::Concerns::RenderRedirect, Controller::Concerns::Steps
- Included in:
- WizardController
- Defined in:
- lib/wicked.rb,
lib/wicked/wizard.rb,
lib/wicked/wizard/translated.rb
Defined Under Namespace
Modules: Translated
Instance Method Summary collapse
-
#index ⇒ Object
forward to first step with whatever params are provided.
Methods included from Controller::Concerns::Steps
#current_step?, #future_step?, #jump_to, #next_step, #next_step?, #past_step?, #previous_step, #previous_step?, #skip_step, #step, #steps, #steps=
Methods included from Controller::Concerns::RenderRedirect
#finish_wizard_path, #process_resource!, #redirect_to_finish_wizard, #redirect_to_next, #render_step, #render_wizard
Methods included from Controller::Concerns::Path
#next_wizard_path, #previous_wizard_path, #wicked_action, #wicked_controller, #wizard_path
Instance Method Details
#index ⇒ Object
forward to first step with whatever params are provided
21 22 23 |
# File 'lib/wicked/wizard.rb', line 21 def index redirect_to wizard_path(steps.first, clean_params) end |