From 4acd26880c89b25104b775b27c709d3db76a3161 Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Tue, 7 Oct 2014 10:22:05 +0200 Subject: [PATCH] Fix incorrect example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b92ecd..49bed57 100644 --- a/README.md +++ b/README.md @@ -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',