Sha256: 6aada0b11a574688bba91650d502dfa1af842c425637b9ca27633e63d23c3c0e
Contents?: true
Size: 994 Bytes
Versions: 7
Compression:
Stored size: 994 Bytes
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", :full_exception => Haml::Util.rails_env != "production") if defined?(ActionDispatch::Callbacks) && defined?(ActionDispatch::Callbacks.to_prepare) # Rails >= 3.0.0 ActionDispatch::Callbacks.to_prepare(:sass_process) {Sass::Plugin.check_for_updates} 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
7 entries across 7 versions & 3 rubygems