lib/bugsnag/rails/controller_methods.rb in bugsnag-2.7.1 vs lib/bugsnag/rails/controller_methods.rb in bugsnag-2.8.0
- old
+ new
@@ -1,13 +1,13 @@
module Bugsnag::Rails
module ControllerMethods
def self.included(base)
base.extend ClassMethods
end
-
+
module ClassMethods
- private
+ private
def before_bugsnag_notify(*methods, &block)
_add_bugsnag_notify_callback(:before_callbacks, *methods, &block)
end
def after_bugsnag_notify(*methods, &block)
@@ -39,6 +39,6 @@
private
def notify_bugsnag(exception, custom_data=nil)
Bugsnag.notify(exception, custom_data)
end
end
-end
\ No newline at end of file
+end