aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-08-30 11:37:17 -0700
committerZachary Scott <e@zzak.io>2014-08-30 11:37:17 -0700
commit9de18a2b44ebc6ceeca252b77a4f820787d9c9b5 (patch)
treeb38e6727d12a86dc1c6f8b531d09030a8010af4c /guides/source
parentd5ad2037455a03261d680d143257ba253d8a7112 (diff)
parent64c2215cbbb72744616fafcf0cf6c7939d47bdf2 (diff)
downloadrails-9de18a2b44ebc6ceeca252b77a4f820787d9c9b5.tar.gz
rails-9de18a2b44ebc6ceeca252b77a4f820787d9c9b5.tar.bz2
rails-9de18a2b44ebc6ceeca252b77a4f820787d9c9b5.zip
Merge pull request #16752 from Shruti2791/shruti_workspace
[ci skip] add line about text layout
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/layouts_and_rendering.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index 60571750a1..6df56c4fee 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -248,7 +248,8 @@ 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.
+layout, you need to add the `layout: true` option. Make sure to add a layout
+file with extension `.txt.erb`.
#### Rendering HTML