Commit c49d04ca by Carsten Brandt

Merge pull request #7025 from MetalGuardian/patch-1

Update runtime-routing.md: Fix url rule order
parents d0d884c3 6940aecd
......@@ -340,9 +340,9 @@ Let's use some examples to illustrate how named parameters work. Assume we have
```php
[
'posts/<year:\d{4}>/<category>' => 'post/index',
'posts' => 'post/index',
'post/<id:\d+>' => 'post/view',
'posts/<year:\d{4}>/<category>' => 'post/index',
]
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment