From d9ba3b1e55366aa73bd90723c59474d250f7eaee Mon Sep 17 00:00:00 2001
From: Matthew Eagar <meagar@gmail.com>
Date: Fri, 3 Feb 2017 11:34:35 -0500
Subject: Fix typo in guide: _articles should be _article

The guide contains a typo in the "local_assigns" section, where
rendering a model named 'Article' via `render @articles` is shown to
render a partial called `_articles.html.erb`, when in fact the necessary
partial name is `_article.html.erb`
---
 guides/source/layouts_and_rendering.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index c8702f54fc..293c99fc8f 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -1155,7 +1155,7 @@ To pass a local variable to a partial in only specific cases use the `local_assi
   <%= render article, full: true %>
   ```
 
-* `_articles.html.erb`
+* `_article.html.erb`
 
   ```erb
   <h2><%= article.title %></h2>
-- 
cgit v1.2.3