aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvneet Singh Malhotra <avneet@vinsol.com>2017-11-24 13:38:21 +0530
committerप्रथमेश Sonpatki <csonpatki@gmail.com>2017-11-24 13:38:21 +0530
commitb01cc6663f91e825ffdf862a761e7bfc3d2ffd85 (patch)
tree4e4d92c7f53e4acb6584d3efdfd2f2290ef965f2
parentfbb12910bdf256bbe2a95909fff114243d75424d (diff)
downloadrails-b01cc6663f91e825ffdf862a761e7bfc3d2ffd85.tar.gz
rails-b01cc6663f91e825ffdf862a761e7bfc3d2ffd85.tar.bz2
rails-b01cc6663f91e825ffdf862a761e7bfc3d2ffd85.zip
Correct render method's response header's content type for option(:body) from text/html to text/plain. (#31212)
-rw-r--r--guides/source/layouts_and_rendering.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index f4597b0e60..4d79b2db89 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -285,7 +285,7 @@ the response. Using `:plain` or `:html` might be more appropriate most of the
time.
NOTE: Unless overridden, your response returned from this render option will be
-`text/html`, as that is the default content type of Action Dispatch response.
+`text/plain`, as that is the default content type of Action Dispatch response.
#### Options for `render`