method

api_request?

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: DebugExceptions
api_request?(content_type) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 201
      def api_request?(content_type)
        @response_format == :api && !content_type.html?
      end
Register or log in to add new notes.