Sha256: ed22ad05c8b3654321c36cc07ee50c34cd09a25ba2f847e4f423c65d8647cc2f

Contents?: true

Size: 245 Bytes

Versions: 12

Compression:

Stored size: 245 Bytes

Contents

module ApplicationHelper
    module Amp::LinkTagHelper

        def amp_link(href, options = {})
            options = options.symbolize_keys
            options[:href] = href
            tag("link", options)
        end

    end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
amp-html-0.7.18 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.17 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.16 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.15 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.14 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.13 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.12 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.11 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.10 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.9 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.8 lib/generators/templates/helpers/amp/link_tag_helper.rb
amp-html-0.7.7 lib/generators/templates/helpers/amp/link_tag_helper.rb