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.
5 6 7 |
# File 'app/helpers/calagator/sources_helper.rb', line 5 def source_url_link(source) return link_to source.url, source.url, { :rel => "nofollow", :target => "_BLANK" } end |