Flowdock
method

retrieve_collector_from_mimes

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionController::MimeResponds

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

retrieve_collector_from_mimes(mimes=nil, &block) protected

Returns a Collector object containing the appropriate mime-type response for the current request, based on the available responses defined by a block. In typical usage this is the block passed to respond_with or respond_to.

Sends :not_acceptable to the client and returns nil if no suitable format is available.

Show source
Register or log in to add new notes.