From b8341b3a2ab276000ec96d4e9b353e42b903b3f1 Mon Sep 17 00:00:00 2001 From: Conrad Beach Date: Mon, 14 Nov 2016 14:04:22 -0700 Subject: Fix small typo in Layouts and Rendering guide. [ci skip] Changed "same way they do" to "same way they are". --- guides/source/layouts_and_rendering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 -- cgit v1.2.3