module ActionController::Instrumentation

def halted_callback_hook(filter, _)

A hook invoked every time a before callback is halted.
def halted_callback_hook(filter, _)
  ActiveSupport::Notifications.instrument("halted_callback.action_controller", filter: filter)
end