Sha256: e1127474cd5fc37cd75a917b275f9cee8c422ace249eef3ef564fab53501403b
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
module Munge module Helper module AssetUrls def image_url(basename) item = items["#{images_root}/#{basename}"] url_for(item) end def font_url(basename) item = items["#{fonts_root}/#{basename}"] url_for(item) end def stylesheet_url(basename) item = items["#{stylesheets_root}/#{basename}"] url_for(item) end def javascript_url(basename) item = items["#{javascripts_root}/#{basename}"] url_for(item) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
munge-0.5.0 | lib/munge/helper/asset_urls.rb |