[Rails] Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images".

This commit is contained in:
Chris Eppstein 2009-04-21 10:07:48 -07:00
parent 96364ffbfe
commit cc1b603263

View File

@ -8,7 +8,8 @@ module Compass
:sass_dir => (sass_dir || prompt_sass_dir),
:css_dir => (css_dir || prompt_css_dir),
:images_dir => default_images_dir,
:javascripts_dir => default_javascripts_dir
:javascripts_dir => default_javascripts_dir,
:http_images_path => default_http_images_path
}
end
@ -49,6 +50,10 @@ NEXTSTEPS
separate("public/javascripts")
end
def default_http_images_path
"/images"
end
def prompt_sass_dir
recommended_location = separate('app/stylesheets')
default_location = separate('public/stylesheets/sass')