DEV: Update sassc gem

This commit is contained in:
David Taylor
2019-03-20 16:04:26 +00:00
parent ed73cc60a9
commit 56b4ee43d3
2 changed files with 8 additions and 14 deletions

View File

@ -1,10 +1,10 @@
module Stylesheet
module ScssFunctions
def asset_url(path)
SassC::Script::String.new("url('#{ActionController::Base.helpers.asset_url(path.value)}')")
SassC::Script::Value::String.new("url('#{ActionController::Base.helpers.asset_url(path.value)}')")
end
def image_url(path)
SassC::Script::String.new("url('#{ActionController::Base.helpers.image_url(path.value)}')")
SassC::Script::Value::String.new("url('#{ActionController::Base.helpers.image_url(path.value)}')")
end
end
end