Skip to content

Commit

Permalink
Merge pull request #403 from y-yagi/fix-ruby-warnings
Browse files Browse the repository at this point in the history
Fix ruby warning
  • Loading branch information
kaspth committed Jun 11, 2017
2 parents c76fc6d + 6011fa5 commit bb5c1d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sass/rails/helpers.rb
Expand Up @@ -3,6 +3,7 @@

module Sprockets
module SassFunctions
remove_method :asset_data_url if method_defined?(:asset_data_url)
def asset_data_url(path)
Sass::Script::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")")
end
Expand Down

0 comments on commit bb5c1d3

Please sign in to comment.