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