method

api_request?

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