Sha256: 7e16b8674f47443ec74ebcc334fc44d08ff786b5b5ba3007cb020a6abc3dae9a
Contents?: true
Size: 458 Bytes
Versions: 3
Compression:
Stored size: 458 Bytes
Contents
module C80NewsTz module ApplicationHelper def url_for_fact(fact) "news/#{fact.slug}" end def apph_url_for_rubric(rubric_slug) "#{root_url}rubrics/#{rubric_slug}" end def apph_url_for_company(company_slug) "companies/#{company_slug}" end def apph_url_for_notice(notice_slug) "notices/#{notice_slug}" end def apph_url_for_issue(issue_id) "issues/#{issue_id}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems