Merge pull request #7025 from MetalGuardian/patch-1

Update runtime-routing.md: Fix url rule order
This commit is contained in:
Carsten Brandt
2015-01-26 13:25:29 +01:00

View File

@ -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',
]
```