rails/actionview
Prem Sichanugrist ed88a601f7
Do note remove Content-Type when render :body
`render :body` should just not set the `Content-Type` header. By
removing the header, it breaks the compatibility with other parts.

After this commit, `render :body` will returns `text/html` content type,
sets by default from `ActionDispatch::Response`, and it will preserve
the overridden content type if you override it.

Fixes #14197, #14238

This partially reverts commit 3047376870d4a7adc7ff15c3cb4852e073c8f1da.
2014-03-05 10:33:52 -05:00
..
lib Do note remove Content-Type when render :body 2014-03-05 10:33:52 -05:00
test Variants in ActionView::Digestor 2014-03-04 15:02:58 +01:00
actionview.gemspec More liberal builder dependency 2013-12-12 20:03:02 +01:00
CHANGELOG.md Variants in ActionView::Digestor 2014-03-04 15:02:58 +01:00
MIT-LICENSE update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30
Rakefile Running all isolated test for actionview 2013-10-03 00:00:50 +02:00
README.rdoc Revert "Merge branch 'master' of github.com:rails/docrails" 2013-08-17 21:46:39 +05:30
RUNNING_UNIT_TESTS.rdoc Directory name in RUNNING_UNIT_TESTS.rdoc [ci skip] 2013-10-04 08:31:29 +02:00

= Action View

Action View is a framework for handling view template lookup and rendering, and provides
view helpers that assist when building HTML forms, Atom feeds and more.
Template formats that Action View handles are ERB (embedded Ruby, typically
used to inline short Ruby snippets inside HTML), and XML Builder.

== Download and installation

The latest version of Action View can be installed with RubyGems:

  % [sudo] gem install actionview

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/actionview


== License

Action View is released under the MIT license:

* http://www.opensource.org/licenses/MIT


== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues