From ac1f0a4be83285c7f7cac1c4096189ed6c0ca128 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 28 Aug 2010 21:52:50 -0700 Subject: [PATCH] Default stylesheet locations for rails apps --- .../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 82522fc5..cdac947e 100644 --- a/lib/compass/app_integration/rails/configuration_defaults.rb +++ b/lib/compass/app_integration/rails/configuration_defaults.rb @@ -7,6 +7,14 @@ module Compass :rails end + def default_sass_dir + File.join("app", "stylesheets") + end + + def default_css_dir + File.join("public", "stylesheets") + end + def default_images_dir File.join("public", "images") end