instance method
content_type=
Ruby on Rails 4.0.13
Since v4.0.13Signature
content_type=(content_type)
No documentation comment.
Parameters
-
content_typereq
Source
# File actionpack/lib/action_dispatch/http/response.rb, line 145
def content_type=(content_type)
@content_type = content_type.to_s
end
Defined in actionpack/lib/action_dispatch/http/response.rb line 145
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Response