Module: DatashiftJourney::BackLinkHelper
- Defined in:
- app/helpers/datashift_journey/back_link_helper.rb
Instance Method Summary collapse
-
#back_a_state_link(journey_plan = nil, css: nil) ⇒ Object
Helper to create a standard Back link that will jump back to previous state.
Instance Method Details
#back_a_state_link(journey_plan = nil, css: nil) ⇒ Object
Helper to create a standard Back link that will jump back to previous state
5 6 7 |
# File 'app/helpers/datashift_journey/back_link_helper.rb', line 5 def back_a_state_link(journey_plan = nil, css: nil) DatashiftJourney::BackLink.new(request, engine_routes: datashift_journey, journey_plan: journey_plan, css: css).tag end |