4
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/bugsnag/rails/action_controller_rescue.rb', line 4
def self.included(base)
base.send(:alias_method, :rescue_action_in_public_without_bugsnag, :rescue_action_in_public)
base.send(:alias_method, :rescue_action_in_public, :rescue_action_in_public_with_bugsnag)
base.send(:alias_method, :rescue_action_locally_without_bugsnag, :rescue_action_locally)
base.send(:alias_method, :rescue_action_locally, :rescue_action_locally_with_bugsnag)
base.send(:prepend_before_filter, :set_bugsnag_request_data)
end
|