Sha256: 75b0422bace146ca17114a02b306f93ceb4b010a6108f364cf70dbe5734b47ea
Contents?: true
Size: 554 Bytes
Versions: 12
Compression:
Stored size: 554 Bytes
Contents
module ApplicationHelper module Amp::StylesheetsTagHelper def amp_css &block if block_given? content_for :css, capture(&block) end end # def amp_css_link(href) # end def amp_global_css &block warn 'AMP-HTML WARNING: `amp_global_css` is deprecated and will be removed in amp-html 2.0 - use `amp_css` instead' if block_given? content_for :global_css, capture(&block) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems