Sha256: 1ff975bb42e85db2b75d7163495870d7d058d7972958eaabe0f173115aa87dd4
Contents?: true
Size: 698 Bytes
Versions: 6
Compression:
Stored size: 698 Bytes
Contents
module C80NewsTz module ApplicationHelper def url_for_fact(fact) "#{root_url}news/#{fact.slug}" end def apph_url_for_rubric(rubric_slug) "#{root_url}rubrics/#{rubric_slug}" end def apph_url_for_company(company_slug) "#{root_url}companies/#{company_slug}" end def apph_url_for_notice(notice_slug) "#{root_url}notices/#{notice_slug}" end def apph_url_for_issue(issue_id) "#{root_url}issues/#{issue_id}" end def apph_url_for_advertiser(advertiser_slug) "#{root_url}publishers/#{advertiser_slug}" end def apph_url_for_blurb(blurb) "#{root_url}publications/#{blurb.slug}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems