We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c76fc6d + 6011fa5 commit bb5c1d3Copy full SHA for bb5c1d3
lib/sass/rails/helpers.rb
@@ -3,6 +3,7 @@
3
4
module Sprockets
5
module SassFunctions
6
+ remove_method :asset_data_url if method_defined?(:asset_data_url)
7
def asset_data_url(path)
8
Sass::Script::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")")
9
end
0 commit comments