Sha256: c714cd21b9b05d05d7b50e5dad365b2d6f721a802c9de028516f95bdf36c4982
Contents?: true
Size: 912 Bytes
Versions: 12
Compression:
Stored size: 912 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 => RAILS_ENV != "production", :full_exception => RAILS_ENV != "production") if defined?(ActionDispatch::Callbacks.to_prepare) # Rails >= 3.0.0 ActionDispatch::Callbacks.to_prepare {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
12 entries across 12 versions & 3 rubygems