Skip to content

Commit

Permalink
[Sass Extensions] Fixed a copy & paste error that caused the http_ima…
Browse files Browse the repository at this point in the history
…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 b7a9772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compass/sass_extensions/functions/urls.rb
Expand Up @@ -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)
Expand Down

0 comments on commit b7a9772

Please sign in to comment.