Permalink
Browse files

[Sass Extensions] Fixed a copy & paste error that caused the http_ima…

…ges_path to not get picked up unless the http_stylesheets_path was also set.
  • Loading branch information...
chriseppstein committed Jul 7, 2009
1 parent 6b8bbd2 commit b7a9772efb89b2b882d3fafe02813c0fc650719a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit b7a9772

Please sign in to comment.