Module: WhoopsRailsNotifier::ActionControllerCatcher
- Defined in:
- lib/whoops_rails_notifier/action_controller_catcher.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
Sets up an alias chain to catch exceptions when Rails does.
Class Method Details
.included(base) ⇒ Object
Sets up an alias chain to catch exceptions when Rails does
4 5 6 7 |
# File 'lib/whoops_rails_notifier/action_controller_catcher.rb', line 4 def self.included(base) #:nodoc: # base.send(:alias_method, :rescue_action_in_public_without_whoops, :rescue_action_in_public) # base.send(:alias_method, :rescue_action_in_public, :rescue_action_in_public_with_whoops) end |