lib/sprockets/sass/functions.rb in sprockets-sass-0.4.2 vs lib/sprockets/sass/functions.rb in sprockets-sass-0.4.3
- old
+ new
@@ -68,9 +68,12 @@
end
end
Script::String.new "url(#{image_path(source, options)})"
end
declare :image_url, [:source], :var_kwargs => true
+ declare :image_url, [:path]
+ declare :image_url, [:path, :only_path]
+ declare :image_url, [:path, :only_path, :cache_buster]
protected
# Returns a reference to the Sprocket's context through
# the importer.