Module: Calagator::SourcesHelper

Defined in:
app/helpers/calagator/sources_helper.rb

Instance Method Summary collapse

Instance Method Details

Return HTML with a link to the the external source URL.



4
5
6
# File 'app/helpers/calagator/sources_helper.rb', line 4

def source_url_link(source)
  link_to source.url, source.url, rel: 'nofollow', target: '_BLANK'
end