Sha256: 1e603fe84810be045ff7d792794df716d8e869c4ef590aa97d9e1c33fca0332e

Contents?: true

Size: 294 Bytes

Versions: 12

Compression:

Stored size: 294 Bytes

Contents

module ApplicationHelper
    module Amp::NoscriptTagHelper

        def noscript_tag(&block)
            if block_given?
                content_tag("noscript", capture(&block))
            else
                content_tag("noscript", nil)
            end
        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/noscript_tag_helper.rb
amp-html-0.7.17 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.16 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.15 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.14 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.13 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.12 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.11 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.10 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.9 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.8 lib/generators/templates/helpers/amp/noscript_tag_helper.rb
amp-html-0.7.7 lib/generators/templates/helpers/amp/noscript_tag_helper.rb