1
0
mirror of https://github.com/dannyvankooten/AltoRouter.git synced 2025-08-05 07:57:38 +02:00

Fix incorrect example

This commit is contained in:
Koen Punt
2014-10-07 10:22:05 +02:00
parent c0041d10e7
commit 4acd26880c

View File

@@ -125,7 +125,7 @@ Where `target` and `name` contain the values passed to `map` and `params` is an
```php
$router = new AltoRouter();
$router->map('GET', '/user/[i:id]', 'user_controller#show_profile', 'user_profile');
$result = $router->match('/users/group/list/123/');
$result = $router->match('/user/123');
$result == array(
'target' => 'user_controller#show_profile',