Skip to content

Commit b32ecce

Browse files
committed
[symfony#1873] Making note about optional paramters slightly shorter
1 parent a47f917 commit b32ecce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

book/routing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,7 @@ match, giving the ``page`` parameter a value of ``2``. Perfect.
418418
.. tip::
419419

420420
Routes with optional parameters at the end will not match on requests
421-
with a trailing slash (i.e. ``/blog/``). In this case the slash is a separator and
422-
should not be used if the optional parameter isn't passed.
421+
with a trailing slash (i.e. ``/blog/`` will not match, ``/blog`` will match).
423422

424423
.. index::
425424
single: Routing; Requirements

0 commit comments

Comments
 (0)