Fix a bug in the stylesheet_url helper
This commit is contained in:
parent
2607b515b9
commit
889580d9d8
@ -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