Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8ea357

Browse files
deguifweaverryan
authored andcommitted
Fix routes table in routing documentation
1 parent 97f9507 commit e8ea357

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

book/routing.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,15 @@ longer required. The URL ``/blog`` will match this route and the value of
422422
the ``page`` parameter will be set to ``1``. The URL ``/blog/2`` will also
423423
match, giving the ``page`` parameter a value of ``2``. Perfect.
424424

425-
+---------+------------+
426-
| /blog | {page} = 1 |
427-
+---------+------------+
428-
| /blog/1 | {page} = 1 |
429-
+---------+------------+
430-
| /blog/2 | {page} = 2 |
431-
+---------+------------+
425+
+--------------------+-------+-----------------------+
426+
| URL | route | parameters |
427+
+====================+=======+=======================+
428+
| /blog | blog | {page} = 1 |
429+
+--------------------+-------+-----------------------+
430+
| /blog/1 | blog | {page} = 1 |
431+
+--------------------+-------+-----------------------+
432+
| /blog/2 | blog | {page} = 2 |
433+
+--------------------+-------+-----------------------+
432434

433435
.. tip::
434436

0 commit comments

Comments
 (0)