method

_process_format

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActionController::Rendering
_process_format(format, options = {}) 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_controller/metal/rendering.rb, line 45
    def _process_format(format, options = {})
      super

      if options[:plain]
        self.content_type = Mime::TEXT
      else
        self.content_type ||= format.to_s
      end
    end
Register or log in to add new notes.