method
content_type=
v2.1.0 -
Show latest stable
- Class:
ActionController::AbstractResponse
content_type=(mime_type)public
No documentation available.
# File actionpack/lib/action_controller/response.rb, line 13
def content_type=(mime_type)
self.headers["Content-Type"] = charset ? "#{mime_type}; charset=#{charset}" : mime_type
end