Method: Sprockets::SassProcessor::Functions#image_path

Defined in:
lib/sprockets/sass_processor.rb

#image_path(path) ⇒ Object

Public: Generate url for image path.

path - Sass::Script::String URL path

Returns a Sass::Script::String.



145
146
147
# File 'lib/sprockets/sass_processor.rb', line 145

def image_path(path)
  asset_path(path, type: :image)
end