class ActionDispatch::ActionableExceptions

def actionable_request?(request)

def actionable_request?(request)
  request.get_header("action_dispatch.show_detailed_exceptions") && request.post? && request.path == endpoint
end