Sha256: 55612f4bb6a9197cf9c920bd600d78ec8e8cf667ef190319ff2cbdf9745836d0
Contents?: true
Size: 927 Bytes
Versions: 16
Compression:
Stored size: 927 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_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
16 entries across 15 versions & 4 rubygems