From 8e4b75f5e669ed6ea82e10d55ac1e9e746e00160 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 2 Apr 2011 07:18:29 +0000 Subject: [PATCH] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84681df..4fcec09 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ You can specify named parameters in routes which will be passed along to your ca You can also include regular expressions with your named parameters by using the `:` delimiter: - Flight::route('/@name/@id:[0-9]{3}', function($params){ + Flight::route('/@name/@id:[0-9]{3}', function($name, $id){ // This will match /bob/123 // But will not match /bob/12345 });