From b7a9772efb89b2b882d3fafe02813c0fc650719a Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 7 Jul 2009 11:13:19 -0700 Subject: [PATCH] [Sass Extensions] Fixed a copy & paste error that caused the http_images_path to not get picked up unless the http_stylesheets_path was also set. --- lib/compass/sass_extensions/functions/urls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/sass_extensions/functions/urls.rb b/lib/compass/sass_extensions/functions/urls.rb index b38dc518b8..06103623d5 100644 --- a/lib/compass/sass_extensions/functions/urls.rb +++ b/lib/compass/sass_extensions/functions/urls.rb @@ -25,7 +25,7 @@ def image_url(path) # or nil if the http_images_path is not set in the configuration. http_images_path = if relative? compute_relative_path(Compass.configuration.images_dir) - elsif Compass.configuration.http_stylesheets_path + elsif Compass.configuration.http_images_path Compass.configuration.http_images_path else Compass.configuration.root_relative(Compass.configuration.images_dir)