aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-06-29 12:35:42 -0400
committerGitHub <noreply@github.com>2017-06-29 12:35:42 -0400
commitb9120d1f8cdfe8c6c88559a8029ba60452c9e5ca (patch)
tree590a46f969680ede33bafdc85b85d2dc86aa00e5
parent9c2ad53beff12cdc7b30dcfaa9d44eda38f7c68c (diff)
parent1f48de101bce1b63e0b250c371a17fb4e851e457 (diff)
downloadrails-b9120d1f8cdfe8c6c88559a8029ba60452c9e5ca.tar.gz
rails-b9120d1f8cdfe8c6c88559a8029ba60452c9e5ca.tar.bz2
rails-b9120d1f8cdfe8c6c88559a8029ba60452c9e5ca.zip
Merge pull request #29618 from diasjorge/patch-1
Specify correct extension for text layouts
-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 c96cf61761..57e603ec0d 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -221,7 +221,7 @@ service requests that are expecting something other than proper HTML.
NOTE: By default, if you use the `:plain` option, the text is rendered without
using the current layout. If you want Rails to put the text into the current
-layout, you need to add the `layout: true` option and use the `.txt.erb`
+layout, you need to add the `layout: true` option and use the `.text.erb`
extension for the layout file.
#### Rendering HTML