Skip to content

Commit 97a164d

Browse files
authored
Fix the matched path value
During the test of the example, I didn't get the expected result when calling /blog
1 parent 59a8989 commit 97a164d

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
@@ -1264,7 +1264,7 @@ the common configuration using options when importing the routes.
12641264
was introduced in Symfony 4.4.
12651265

12661266
In this example, the route of the ``index()`` action will be called ``blog_index``
1267-
and its URL will be ``/blog/``. The route of the ``show()`` action will be called
1267+
and its URL will be ``/blog/{_locale}``. The route of the ``show()`` action will be called
12681268
``blog_show`` and its URL will be ``/blog/{_locale}/posts/{slug}``. Both routes
12691269
will also validate that the ``_locale`` parameter matches the regular expression
12701270
defined in the class annotation.

0 commit comments

Comments
 (0)