Update runtime-routing.md: Fix url rule order
in previous example this
Url::to(['post/index', 'year' => 2014, 'category' => 'php'])
will not create `/index.php/posts/2014/php`
because it will be handled by first find rule 'posts' => 'post/index' and url will be '/index.php/posts?year=2014&category=php'
Showing
Please
register
or
sign in
to comment