Path: | lib/compass/app_integration/merb.rb |
Last Update: | Mon Apr 26 17:07:05 +0000 2010 |
To configure Merb to use compass do the following: Merb::BootLoader.after_app_loads do
require 'merb-haml' require 'compass'
end
To use a different sass stylesheets locations as is recommended by compass add this configuration to your configuration block:
Merb::Config.use do |c|
c[:compass] = { :stylesheets => 'app/stylesheets', :compiled_stylesheets => 'public/stylesheets/compiled' }
end