Module: RoutesHelper
- Defined in:
- lib/forge/app/helpers/routes_helper.rb
Instance Method Summary collapse
- #forge_help_topic_path(help_topic) ⇒ Object
- #page_path(page) ⇒ Object
- #product_category_path(category) ⇒ Object
Instance Method Details
#forge_help_topic_path(help_topic) ⇒ Object
2 3 4 |
# File 'lib/forge/app/helpers/routes_helper.rb', line 2 def forge_help_topic_path(help_topic) "/forge/help/#{help_topic.slug}" end |
#page_path(page) ⇒ Object
6 7 8 |
# File 'lib/forge/app/helpers/routes_helper.rb', line 6 def page_path(page) page.path end |
#product_category_path(category) ⇒ Object
10 11 12 |
# File 'lib/forge/app/helpers/routes_helper.rb', line 10 def product_category_path(category) category.path end |