Skip to content

Commit 201b622

Browse files
Minor
Page: https://symfony.com/doc/5.4/routing.html Reason: Might be misunderstood as "unique throughout the entire project" It's explained 2 paragraphs further down: > Routes can define any number of parameters, but each of them can only be used once on each route
1 parent a377f07 commit 201b622

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

routing.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,8 @@ However, it's common to define routes where some parts are variable. For example
498498
the URL to display some blog post will probably include the title or slug
499499
(e.g. ``/blog/my-first-post`` or ``/blog/all-about-symfony``).
500500

501-
In Symfony routes, variable parts are wrapped in ``{ ... }`` and they must have
502-
a unique name. For example, the route to display the blog post contents is
503-
defined as ``/blog/{slug}``:
501+
In Symfony routes, variable parts are wrapped in ``{ }``.
502+
For example, the route to display the blog post contents is defined as ``/blog/{slug}``:
504503

505504
.. configuration-block::
506505

0 commit comments

Comments
 (0)