Skip to content

Commit

Permalink
Fix embed_templates call in migration guide (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
boringcactus authored Dec 31, 2022
1 parent 2ea4ed5 commit 97cfd87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ defmodule Phoenix.View do
according to the `render_existing` documentation.
2. Replace `use MyApp, :view` by `use MyApp, :html` and invoke
`embed_templates "../templates/my"`. Alternatively, you can move
`embed_templates "../templates/my/*"`. Alternatively, you can move
both the HTML file and its templates to the `controllers` directory,
to align with Phoenix v1.7 conventions.
Expand Down

0 comments on commit 97cfd87

Please sign in to comment.