File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -561,13 +561,15 @@ is *not* a number).
561
561
As a result, a URL like ``/blog/my-blog-post `` will now properly match the
562
562
``blog_show `` route.
563
563
564
- +--------------------+-----------+-----------------------+
565
- | URL | route | parameters |
566
- +====================+===========+=======================+
567
- | /blog/2 | blog | {page} = 2 |
568
- +--------------------+-----------+-----------------------+
569
- | /blog/my-blog-post | blog_show | {slug} = my-blog-post |
570
- +--------------------+-----------+-----------------------+
564
+ +----------------------+-----------+-------------------------+
565
+ | URL | route | parameters |
566
+ +======================+===========+=========================+
567
+ | /blog/2 | blog | {page} = 2 |
568
+ +----------------------+-----------+-------------------------+
569
+ | /blog/my-blog-post | blog_show | {slug} = my-blog-post |
570
+ +----------------------+-----------+-------------------------+
571
+ | /blog/2-my-blog-post | blog_show | {slug} = 2-my-blog-post |
572
+ +----------------------+-----------+-------------------------+
571
573
572
574
.. sidebar :: Earlier Routes always Win
573
575
You can’t perform that action at this time.
0 commit comments