method
api_request?
v5.1.7 -
Show latest stable
- Class:
ActionDispatch::DebugExceptions
api_request?(content_type)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 199
def api_request?(content_type)
@response_format == :api && !content_type.html?
end