Skip to content

Commit 4da6ed4

Browse files
Typo in the Route attribute definition
Under the section `Parameter Conversion` there is a typo in the code block definition of the route `blog_show` (line 13 of the code block).
1 parent 1c62383 commit 4da6ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ controller action. Instead of ``string $slug``, add ``BlogPost $post``::
885885
{
886886
// ...
887887

888-
#[Roue('/blog/{slug}', name: 'blog_show')]
888+
#[Route('/blog/{slug}', name: 'blog_show')]
889889
public function show(BlogPost $post): Response
890890
{
891891
// $post is the object whose slug matches the routing parameter

0 commit comments

Comments
 (0)