Sha256: 26eec577ae9f7164c101fd8bb195a6dbe846931fbdf2457a37015edec3a2e4fc
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
require "stylesheets_for_all/version" require "action_view" module StylesheetsForAll module ActionViewExtensions def stylesheet_link_tag(*sources) options = sources.last.is_a?(Hash) ? sources.pop.stringify_keys : { } sources << {'media' => 'all'}.merge(options) super end end end ActionView::Base.send :include, StylesheetsForAll::ActionViewExtensions
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stylesheets_for_all-0.0.2 | lib/stylesheets_for_all.rb |
stylesheets_for_all-0.0.1 | lib/stylesheets_for_all.rb |