method

assign_default_content_type_and_charset

Importance_0
v2.1.0 - 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 1182
      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.