This project is archived and is in readonly mode.
render_to_string :partial sets response.content_type
-
vibha
- Tag changed from 2.2, actionpack, content_type, partial, render_to_string to 2.2, actionpack, content_type, partial, render_to_string
working on Rails 2.1.0, i did same
and got response.content_type as "application/json" for Rails 2.1
-
DHH
- Milestone cleared.
- Assigned user set to josh
-
Repository
- State changed from new to resolved
(from [2092687bcb35a3d30e1d05d3f5f461d8f4e8f9b7]) Ensure content type gets reset after render_to_string [#1182 render_to_string :partial sets response.content_type state:resolved] http://github.com/rails/rails/co...