Skip to content

Commit bb5c1d3

Browse files
authored
Merge pull request #403 from y-yagi/fix-ruby-warnings
Fix ruby warning
2 parents c76fc6d + 6011fa5 commit bb5c1d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sass/rails/helpers.rb

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
module Sprockets
55
module SassFunctions
6+
remove_method :asset_data_url if method_defined?(:asset_data_url)
67
def asset_data_url(path)
78
Sass::Script::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")")
89
end

0 commit comments

Comments
 (0)