method

response_for

rails latest stable - Class: ActionController::MimeResponds::Collector

Method deprecated or moved

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

response_for(mime)
public

No documentation available.

# File actionpack/lib/action_controller/metal/mime_responds.rb, line 305
      def response_for(mime)
        @responses[mime] || @responses[Mime::ALL] || @default_response
      end