diff options
author | Conrad Beach <conradbeach@gmail.com> | 2016-11-14 14:04:22 -0700 |
---|---|---|
committer | Conrad Beach <conradbeach@gmail.com> | 2016-11-14 14:07:21 -0700 |
commit | b8341b3a2ab276000ec96d4e9b353e42b903b3f1 (patch) | |
tree | a9a01dabb812e5f28844e3a442ca16c915a6fe39 /guides/source | |
parent | e491b2c06329afb3c989261a2865d2a93c8b84b8 (diff) | |
download | rails-b8341b3a2ab276000ec96d4e9b353e42b903b3f1.tar.gz rails-b8341b3a2ab276000ec96d4e9b353e42b903b3f1.tar.bz2 rails-b8341b3a2ab276000ec96d4e9b353e42b903b3f1.zip |
Fix small typo in Layouts and Rendering guide. [ci skip]
Changed "same way they do" to "same way they are".
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/layouts_and_rendering.md | 2 |
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 |