lib/motorhead/action_view.rb in motorhead-0.3.9 vs lib/motorhead/action_view.rb in motorhead-0.4.0
- old
+ new
@@ -11,10 +11,11 @@
else
render_without_motorhead options, locals, &block
end
end
- alias_method_chain :render, :motorhead
+ alias_method :render_without_motorhead, :render
+ alias_method :render, :render_with_motorhead
end
module Motorhead
module ActionView
module Renderer