impress/config/initializers/compass.rb

6 lines
229 B
Ruby
Raw Normal View History

2010-05-15 16:34:13 -07:00
require 'compass'
rails_root = (defined?(Rails) ? Rails.root : RAILS_ROOT).to_s
Compass.add_project_configuration(File.join(rails_root, "config", "compass.rb"))
Compass.configure_sass_plugin!
Compass.handle_configuration_change!