Flowdock
method

assign_default_content_type_and_charset

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::Base
assign_default_content_type_and_charset() 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/base.rb, line 1179
      def assign_default_content_type_and_charset
        response.content_type ||= Mime::HTML
        response.charset      ||= self.class.default_charset unless sending_file?
      end
Register or log in to add new notes.