mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Update sassc gem
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user