Wicked::Wizard

Public Instance Methods

index() click to toggle source

forward to first step with whatever params are provided

# File lib/wicked/wizard.rb, line 33
def index
  query_string = "?#{request.query_parameters.to_query}" if request.query_parameters.any?
  redirect_to "#{ wizard_path(steps.first) }#{ query_string || '' }"
end
wizard_value(step_name) click to toggle source

returns the canonical value for a step name, needed for translation support

# File lib/wicked/wizard.rb, line 39
def wizard_value(step_name)
  step_name
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.