Sha256: 82f17b859c1f9d63c548ee46857451f2153b245e58741bd5fd1b4eef8e03649a
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
module AssetsBooster module ViewHelper def should_merge? AssetPackage.merge_environments.include?(Rails.env) end def assets_booster_tag(type, *names) options = names.extract_options! packages = AssetsBooster::Packager.packages[type] html = names.map do |name| methode, sources = packages[name].view_helper send(methode, sources, options) end*"\n" html.html_safe end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
assets_booster-0.0.1 | lib/assets_booster/view_helper.rb |