From ec11a066a54225db4eac2b6843eccc85abfe4179 Mon Sep 17 00:00:00 2001 From: takmar Date: Mon, 11 Dec 2023 15:14:59 +0900 Subject: [PATCH] Update obsolete documentation for Engines --- guides/source/engines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guides/source/engines.md b/guides/source/engines.md index 6d50f89acf8df..3b3932b02a469 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -844,12 +844,12 @@ an author - represented by a record in the `users` table - with an article, represented by the `blorgh_articles` table from the engine. Finally, the author's name should be displayed on the article's page. Add this code -above the "Title" output inside `app/views/blorgh/articles/show.html.erb`: +above the "Title" output inside `app/views/blorgh/articles/_article.html.erb`: ```html+erb

- Author: - <%= @article.author.name %> + Author: + <%= article.author.name %>

```