Skip to content

Commit

Permalink
Link to proper index.html.heex path in docs (#6037)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogourment authored Jan 5, 2025
1 parent 0f9628a commit 06e3525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/testing/testing_controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def index(conn, _params) do
end
```

It gets all posts and renders the "index.html" template. The template can be found in `lib/hello_web/templates/page/index.html.heex`.
It gets all posts and renders the "index.html" template. The template can be found in `lib/hello_web/controllers/post_html/index.html.heex`.

The test looks like this:

Expand Down

0 comments on commit 06e3525

Please sign in to comment.