diff options
author | shruti2791 <shruti@vinsol.com> | 2014-08-30 20:17:30 +0530 |
---|---|---|
committer | shruti2791 <shruti@vinsol.com> | 2014-08-30 20:17:30 +0530 |
commit | 64c2215cbbb72744616fafcf0cf6c7939d47bdf2 (patch) | |
tree | 308c4bd6caf830d4f80504e321ee346a06079c18 /guides | |
parent | 84c0f73c8daf50fa98d1c4a0c1bab8708e49d0e4 (diff) | |
download | rails-64c2215cbbb72744616fafcf0cf6c7939d47bdf2.tar.gz rails-64c2215cbbb72744616fafcf0cf6c7939d47bdf2.tar.bz2 rails-64c2215cbbb72744616fafcf0cf6c7939d47bdf2.zip |
[ci skip] add line about text layout
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/layouts_and_rendering.md | 3 |
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 |