Skip to content

Commit 8388ba2

Browse files
committed
minor #17198 Typo in the Route attribute definition (githubfromgui)
This PR was merged into the 6.0 branch. Discussion ---------- 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). <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 4da6ed4 Typo in the Route attribute definition
2 parents d5ac664 + 4da6ed4 commit 8388ba2

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)