Sha256: 9bf506b8f519ad776bcb30c074c92027bf93595343f7a8efd6edbcfbfc9c7ae5
Contents?: true
Size: 1.21 KB
Versions: 13
Compression:
Stored size: 1.21 KB
Contents
unless defined?(Sass::RAILS_LOADED) Sass::RAILS_LOADED = true Sass::Plugin.options.merge!(:template_location => Haml::Util.rails_root + '/public/stylesheets/sass', :css_location => Haml::Util.rails_root + '/public/stylesheets', :cache_location => Haml::Util.rails_root + '/tmp/sass-cache', :always_check => Haml::Util.rails_env != "production", :quiet => Haml::Util.rails_env != "production", :full_exception => Haml::Util.rails_env != "production") if defined?(ActionController::Metal) # Rails >= 3.0 require 'sass/plugin/rack' ActionController::Metal.use(Sass::Plugin::Rack) elsif defined?(ActionController::Dispatcher) && defined?(ActionController::Dispatcher.middleware) # Rails >= 2.3 require 'sass/plugin/rack' ActionController::Dispatcher.middleware.use(Sass::Plugin::Rack) else module ActionController class Base alias_method :sass_old_process, :process def process(*args) Sass::Plugin.check_for_updates sass_old_process(*args) end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems