Fix a bug in the stylesheet_url helper

This commit is contained in:
Chris Eppstein 2010-11-17 17:26:22 -08:00
parent 2607b515b9
commit 889580d9d8

View File

@ -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