Wicked::Controller::Concerns::Path

Public Instance Methods

next_wizard_path(options = {}) click to toggle source
# File lib/wicked/controller/concerns/path.rb, line 5
def next_wizard_path(options = {})
  wizard_path(@next_step, options)
end
previous_wizard_path(options = {}) click to toggle source
# File lib/wicked/controller/concerns/path.rb, line 9
def previous_wizard_path(options = {})
  wizard_path(@previous_step, options)
end
wicked_action() click to toggle source
# File lib/wicked/controller/concerns/path.rb, line 17
def wicked_action
  params[:action]
end
wicked_controller() click to toggle source
# File lib/wicked/controller/concerns/path.rb, line 13
def wicked_controller
  params[:controller]
end
wizard_path(goto_step = nil, options = {}) click to toggle source
# File lib/wicked/controller/concerns/path.rb, line 22
def wizard_path(goto_step = nil, options = {})
  options = { :controller => wicked_controller,
              :action     => 'show',
              :id         => goto_step || params[:id],
              :only_path  => true
             }.merge options
  url_for(options)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.