Fix a bug in the stylesheet_url helper
This commit is contained in:
parent
1e5f3668e1
commit
08d0d30c43
@ -11,7 +11,7 @@ module Compass::SassExtensions::Functions::Urls
|
|||||||
Compass.configuration.http_root_relative(Compass.configuration.css_dir)
|
Compass.configuration.http_root_relative(Compass.configuration.css_dir)
|
||||||
end
|
end
|
||||||
|
|
||||||
path = "#{http_stylesheets_path}/#{path}"
|
path = "#{http_stylesheets_path}/#{path.value}"
|
||||||
if only_path.to_bool
|
if only_path.to_bool
|
||||||
Sass::Script::String.new(clean_path(path))
|
Sass::Script::String.new(clean_path(path))
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user