Skip to content

Commit

Permalink
Merge pull request #1677 from NaotoCoding/patch-1
Browse files Browse the repository at this point in the history
パーシャルの読み込み先ファイル名を修正
  • Loading branch information
hachi8833 authored Sep 14, 2024
2 parents 432de33 + 7b1e769 commit ae107a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/ja/action_view_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Railsは、デフォルトでビューの各テンプレートをコンパイル
<%= render "application/product" %>
```

上のコードは、その位置に`app/views/application/_menu.html.erb`パーシャルを読み込みます。
上のコードは、その位置に`app/views/application/_product.html.erb`パーシャルを読み込みます。

[`render`]: https://api.rubyonrails.org/classes/ActionView/Helpers/RenderingHelper.html#method-i-render

Expand Down

0 comments on commit ae107a2

Please sign in to comment.