Skip to content

Commit cfa5cab

Browse files
authored
Merge pull request rails#27046 from conradbeach/fix-typo-layouts-and-rendering-guide
Fix small typo in Layouts and Rendering guide.
2 parents 0137451 + b8341b3 commit cfa5cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/layouts_and_rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ When rendering collections it is also possible to use the `:layout` option:
12801280
<%= render partial: "product", collection: @products, layout: "special_layout" %>
12811281
```
12821282

1283-
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.
1283+
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.
12841284

12851285
### Using Nested Layouts
12861286

0 commit comments

Comments
 (0)