Flowdock
method

retrieve_collector_from_mimes

Importance_1
v4.1.8 - Show latest stable - 0 notes - Class: ActionController::MimeResponds
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.