Module: Yeller::Rails::ActionControllerCatchingHooks

Defined in:
lib/yeller/rails.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



15
16
17
18
# File 'lib/yeller/rails.rb', line 15

def self.included(base)
  base.send(:alias_method, :render_exception_without_yeller, :render_exception)
  base.send(:alias_method, :render_exception, :render_exception_with_yeller)
end