From cc1b603263b23631c35838ebd265341db6078f54 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 21 Apr 2009 10:07:48 -0700 Subject: [PATCH] [Rails] Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images". --- lib/compass/installers/rails.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/compass/installers/rails.rb b/lib/compass/installers/rails.rb index 44dc9099..ec613a59 100644 --- a/lib/compass/installers/rails.rb +++ b/lib/compass/installers/rails.rb @@ -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')