Fix for the default path of generated images in rails 2.x

This commit is contained in:
Chris Eppstein 2011-11-28 09:08:52 -08:00
parent 37de6efc24
commit 2dbf44c263

View File

@ -79,6 +79,12 @@ module Compass
http_root_relative "images" http_root_relative "images"
end 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 def default_http_javascripts_path
http_root_relative "javascripts" http_root_relative "javascripts"
end end