We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4619de commit 5fd4e23Copy full SHA for 5fd4e23
routing.rst
@@ -936,6 +936,10 @@ other configuration formats they are defined with the ``defaults`` option:
936
Now, when the user visits ``/blog``, the ``blog_list`` route will match and
937
``$page`` will default to a value of ``1``.
938
939
+.. tip::
940
+
941
+ The default value is allowed to not match the requirement.
942
943
.. warning::
944
945
You can have more than one optional parameter (e.g. ``/blog/{slug}/{page}``),
0 commit comments