lib/sass/plugin/rack.rb in haml-edge-2.3.81 vs lib/sass/plugin/rack.rb in haml-edge-2.3.82

- old
+ new

@@ -52,10 +52,10 @@ Haml::Util.has?(:instance_method, Merb::Rack::Application, :call_without_sass) Merb::Rack::Application.instance_eval {alias_method :call, :call_without_sass} end if defined?(ActionDispatch::Callbacks.to_prepare) - ActionDispatch::Callbacks.instance_eval {undef :__sass_process} + ActionDispatch::Callbacks.skip_callback(:prepare, :__sass_process) elsif defined?(ActionController::Base) && Haml::Util.has?(:instance_method, ActionController::Base, :sass_old_process) ActionController::Base.instance_eval {alias_method :process, :sass_old_process} end end