method

_set_rendered_content_type

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActionController::Rendering
_set_rendered_content_type(format) 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 69
    def _set_rendered_content_type(format)
      unless response.content_type
        self.content_type = format.to_s
      end
    end
Register or log in to add new notes.