Skip to content

Commit 99589f0

Browse files
committed
minor #12473 [Routing] Removing outdated note (thbil)
This PR was merged into the 4.3 branch. Discussion ---------- [Routing] Removing outdated note Hi, As I said in #12444, I think the note is outdated since v4.1.0-BETA1 so I removed it (fix #12444). This is my first PR so let me know if I'm doing something wrong! Cheers. Commits ------- 27fc2ea Fix issue #12444 (removing irrelevant note)
2 parents 2fdbe01 + 27fc2ea commit 99589f0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

routing.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,6 @@ Now, when the user visits ``/blog``, the ``blog_list`` route will match and
725725
``/{page}/blog`` is a valid path, but ``page`` will always be required
726726
(i.e. ``/blog`` will not match this route).
727727

728-
.. note::
729-
730-
Routes with optional parameters at the end will not match on requests
731-
with a trailing slash (i.e. ``/blog/`` will not match, ``/blog`` will match).
732-
733728
If you want to always include some default value in the generated URL (for
734729
example to force the generation of ``/blog/1`` instead of ``/blog`` in the
735730
previous example) add the ``!`` character before the parameter name: ``/blog/{!page}``

0 commit comments

Comments
 (0)