aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-11-14 16:11:29 -0500
committerGitHub <noreply@github.com>2016-11-14 16:11:29 -0500
commitcfa5cab3a869f9c9d7525b7becead01601824f04 (patch)
tree1b4ec5aa42389f1a695d4cef732e7664fb23e07e /guides
parent013745151be062aa4d0fc1f2a008a7303fdb6e04 (diff)
parentb8341b3a2ab276000ec96d4e9b353e42b903b3f1 (diff)
downloadrails-cfa5cab3a869f9c9d7525b7becead01601824f04.tar.gz
rails-cfa5cab3a869f9c9d7525b7becead01601824f04.tar.bz2
rails-cfa5cab3a869f9c9d7525b7becead01601824f04.zip
Merge pull request #27046 from conradbeach/fix-typo-layouts-and-rendering-guide
Fix small typo in Layouts and Rendering guide.
Diffstat (limited to 'guides')
-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 0c24ec884c..c8702f54fc 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -1280,7 +1280,7 @@ When rendering collections it is also possible to use the `:layout` option:
<%= render partial: "product", collection: @products, layout: "special_layout" %>
```
-The layout will be rendered together with the partial for each item in the collection. The current object and object_counter variables will be available in the layout as well, the same way they do within the partial.
+The layout will be rendered together with the partial for each item in the collection. The current object and object_counter variables will be available in the layout as well, the same way they are within the partial.
### Using Nested Layouts