method

_set_rendered_content_type

Importance_0
v7.1.3.2 - 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 186
      def _set_rendered_content_type(format)
        if format && !response.media_type
          self.content_type = format.to_s
        end
      end
Register or log in to add new notes.