private Method

Base.assign_default_content_type_and_charset

There's no documentation for this item.

Source Code

# File action_controller/base.rb, line 1185
def assign_default_content_type_and_charset
  response.content_type ||= Mime::HTML
  response.charset      ||= self.class.default_charset unless sending_file?
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.