Fix a bug in the stylesheet_url helper

This commit is contained in:
Chris Eppstein 2010-11-17 17:26:22 -08:00
parent 1e5f3668e1
commit 08d0d30c43

View File

@ -11,7 +11,7 @@ module Compass::SassExtensions::Functions::Urls
Compass.configuration.http_root_relative(Compass.configuration.css_dir)
end
path = "#{http_stylesheets_path}/#{path}"
path = "#{http_stylesheets_path}/#{path.value}"
if only_path.to_bool
Sass::Script::String.new(clean_path(path))
else