Sha256: 29225b0f71b432351e504a516a3038a618dd1c240cea144450e914499f106848
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
module Wicked::Controller::Concerns::Path extend ActiveSupport::Concern def next_wizard_path wizard_path(@next_step) end def controller params[:controller] end def action params[:action] end def wizard_path(goto_step = nil, options = {}) options = { :controller => controller, :action => 'show', :id => goto_step || action, :only_path => true }.merge options url_for(options) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wicked-0.0.1 | lib/wicked/controller/concerns/path.rb |