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 a95f4f0 commit 34f5dfaCopy full SHA for 34f5dfa
routing.rst
@@ -341,6 +341,10 @@ So how can you make ``blog_list`` once again match when the user visits
341
Now, when the user visits ``/blog``, the ``blog_list`` route will match and
342
``$page`` will default to a value of ``1``.
343
344
+When you generate URL for path ``blog_list`` without adding ``page`` parameter Router
345
+will generate ``/blog/``. Note that it doesn't use default value ``1``. To generate
346
+``/blog/1`` mark variable as important adding ``!`` before the name: ``/blog/{!page}``.
347
+
348
.. index::
349
single: Routing; Advanced example
350
single: Routing; _format parameter
0 commit comments