method
asset_tag
v3.2.1 -
Show latest stable
- Class:
ActionView::Helpers::AssetTagHelper::StylesheetIncludeTag
asset_tag(source, options)public
No documentation available.
# File actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb, line 18
def asset_tag(source, options)
# We force the :request protocol here to avoid a double-download bug in IE7 and IE8
tag("link", { "rel" => "stylesheet", "type" => Mime::CSS, "media" => "screen", "href" => path_to_asset(source, :protocol => :request) }.merge(options))
end