From 2dbf44c2638ad47b5b02181624fe4cd0fb3cb6ad Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 28 Nov 2011 09:08:52 -0800 Subject: [PATCH] Fix for the default path of generated images in rails 2.x --- lib/compass/app_integration/rails/configuration_defaults.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/compass/app_integration/rails/configuration_defaults.rb b/lib/compass/app_integration/rails/configuration_defaults.rb index 146ad8cf..f089ee87 100644 --- a/lib/compass/app_integration/rails/configuration_defaults.rb +++ b/lib/compass/app_integration/rails/configuration_defaults.rb @@ -79,6 +79,12 @@ module Compass http_root_relative "images" end + def default_http_generated_images_path + # Relies on the fact that this will be loaded after the "normal" + # defaults, so that method_missing finds http_root_relative + http_root_relative "images" + end + def default_http_javascripts_path http_root_relative "javascripts" end