Module: Calagator::SourcesHelper
- Defined in:
- app/helpers/calagator/sources_helper.rb
Instance Method Summary collapse
-
#source_url_link(source) ⇒ Object
Return HTML with a link to the the external source URL.
Instance Method Details
#source_url_link(source) ⇒ Object
Return HTML with a link to the the external source URL.
6 7 8 |
# File 'app/helpers/calagator/sources_helper.rb', line 6 def source_url_link(source) link_to source.url, source.url, rel: 'nofollow', target: '_BLANK' end |