Sha256: 045d9232f23f09336d0fb45f32c0acae52bccc0ebbc771964273f8c25bd7d0c4
Contents?: true
Size: 547 Bytes
Versions: 6
Compression:
Stored size: 547 Bytes
Contents
module Munge module Helpers module AssetPaths def image_path(basename) item = items["#{images_root}/#{basename}"] url_for(item) end def font_path(basename) item = items["#{fonts_root}/#{basename}"] url_for(item) end def stylesheet_path(basename) item = items["#{stylesheets_root}/#{basename}"] url_for(item) end def javascript_path(basename) item = items["#{javascripts_root}/#{basename}"] url_for(item) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems