From b01cc6663f91e825ffdf862a761e7bfc3d2ffd85 Mon Sep 17 00:00:00 2001 From: Avneet Singh Malhotra Date: Fri, 24 Nov 2017 13:38:21 +0530 Subject: Correct render method's response header's content type for option(:body) from text/html to text/plain. (#31212) --- guides/source/layouts_and_rendering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` -- cgit v1.2.3