class Sentry::Railtie

def extend_controller_methods

def extend_controller_methods
  require "sentry/rails/controller_methods"
  require "sentry/rails/controller_transaction"
  require "sentry/rails/overrides/streaming_reporter"
  ActiveSupport.on_load :action_controller do
    include Sentry::Rails::ControllerMethods
    include Sentry::Rails::ControllerTransaction
    ActionController::Live.send(:prepend, Sentry::Rails::Overrides::StreamingReporter)
  end
end