Sha256: 092be1b015d5573c77d34e1fe1eb8becff0bcac22f9db067fb3c5df59229cfb8
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
c80_news_tz-0.1.1.19 | app/helpers/c80_news_tz/application_helper.rb |
c80_news_tz-0.1.1.18 | app/helpers/c80_news_tz/application_helper.rb |