Sha256: b3fe2f5bc868ac36de58b8d1cfe8efc29c96cada0a1993a4d2494449ea000be8
Contents?: true
Size: 786 Bytes
Versions: 2
Compression:
Stored size: 786 Bytes
Contents
# lib/stair_master/concerns/routing.rb ## ## module StairMaster module Concerns module Routing extend ActiveSupport::Concern included do helper_method :current_step_path, :next_step_path, :previous_step_path, :first_step_path end def current_step_path(resources=[],options={}) current_step.url_for resources, options end def next_step_path(resources=[],options={}) next_step.url_for resources, options end def previous_step_path(resources=[],options={}) previous_step.url_for resources, options end def first_step_path(resources=[],options={}) first_step.url_for resources, options end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stair_master-0.1.0 | lib/stair_master/concerns/routing.rb |
stair_master-0.0.3 | lib/stair_master/concerns/routing.rb |