method

api_request?

Importance_0
v7.1.3.4 - 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 177
      def api_request?(content_type)
        @response_format == :api && !content_type.html?
      end
Register or log in to add new notes.