Skip to content

Commit 01ffa65

Browse files
committed
minor #6070 Typo in When Things Get More Advanced (BallisticPain)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6070). Discussion ---------- Typo in When Things Get More Advanced Fixed `{id}` to `{postSlug}` to match the code example. Commits ------- 2f98e97 Typo in When Things Get More Advanced
2 parents 27ee3fa + 2f98e97 commit 01ffa65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best_practices/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ also show a 404 page if no ``Post`` can be found.
157157
When Things Get More Advanced
158158
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159159

160-
This works without any configuration because the wildcard name ``{id}`` matches
160+
The above example works without any configuration because the wildcard name ``{id}`` matches
161161
the name of the property on the entity. If this isn't true, or if you have
162162
even more complex logic, the easiest thing to do is just query for the entity
163163
manually. In our application, we have this situation in ``CommentController``:

0 commit comments

Comments
 (0)