From ca6ffb4f57018a226c20538e2e13a56a4ddebccd Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 28 Nov 2009 12:11:11 -0800 Subject: [PATCH] [Rails] The font directory for rails projects will default to public/fonts. --- .../app_integration/rails/configuration_defaults.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/compass/app_integration/rails/configuration_defaults.rb b/lib/compass/app_integration/rails/configuration_defaults.rb index 9ee2202d..0225cb07 100644 --- a/lib/compass/app_integration/rails/configuration_defaults.rb +++ b/lib/compass/app_integration/rails/configuration_defaults.rb @@ -11,6 +11,10 @@ module Compass File.join("public", "images") end + def default_fonts_dir + File.join("public", "fonts") + end + def default_javascripts_dir File.join("public", "javascripts") end @@ -23,6 +27,10 @@ module Compass "/javascripts" end + def default_http_fonts_path + "/fonts" + end + def default_http_stylesheets_path "/stylesheets" end