Sha256: 3b8f298f916b65353bbfce38a3734970cf16e33d63653f4635fa695006b92084

Contents?: true

Size: 547 Bytes

Versions: 10

Compression:

Stored size: 547 Bytes

Contents

module Munge
  module Helpers
    module AssetPaths
      def image_path(basename)
        item = items["#{images_root}/#{basename}"]
        path_to(item)
      end

      def font_path(basename)
        item = items["#{fonts_root}/#{basename}"]
        path_to(item)
      end

      def stylesheet_path(basename)
        item = items["#{stylesheets_root}/#{basename}"]
        path_to(item)
      end

      def javascript_path(basename)
        item = items["#{javascripts_root}/#{basename}"]
        path_to(item)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
munge-0.18.0 lib/munge/helpers/asset_paths.rb
munge-0.17.0 lib/munge/helpers/asset_paths.rb
munge-0.16.0 lib/munge/helpers/asset_paths.rb
munge-0.15.1 lib/munge/helpers/asset_paths.rb
munge-0.15.0 lib/munge/helpers/asset_paths.rb
munge-0.14.0 lib/munge/helpers/asset_paths.rb
munge-0.13.0 lib/munge/helpers/asset_paths.rb
munge-0.12.0 lib/munge/helpers/asset_paths.rb
munge-0.11.1 lib/munge/helpers/asset_paths.rb
munge-0.11.0 lib/munge/helpers/asset_paths.rb