Sha256: 51922db2e9bc01481400e35af74b2aab8c0349878a828ee64df0c841f01f3772

Contents?: true

Size: 255 Bytes

Versions: 7

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

module Calagator
  module SourcesHelper
    # Return HTML with a link to the the external source URL.
    def source_url_link(source)
      link_to source.url, source.url, rel: "nofollow", target: "_BLANK"
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
koalagator-4.1.0 app/helpers/calagator/sources_helper.rb
koalagator-4.0.0 app/helpers/calagator/sources_helper.rb
koalagator-3.0.0 app/helpers/calagator/sources_helper.rb
koalagator-2.1.1 app/helpers/calagator/sources_helper.rb
koalagator-2.1.0 app/helpers/calagator/sources_helper.rb
calagator2-2.1.1 app/helpers/calagator/sources_helper.rb
calagator2-2.1.0 app/helpers/calagator/sources_helper.rb