Permalink
Browse files

update the README to remove mention of a feature that turned out to b…

…e an anti-pattern and is no longer available.
  • Loading branch information...
1 parent 0ba19b4 commit 500d4dc0ec250cc0de95897762f4d803c7aa5334 @nrstott committed Feb 5, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −8 README.md
View
8 README.md
@@ -70,14 +70,6 @@ be accessible via the `params` object of the `req` object passed to the route ha
return bogart.html(greeting);
});
-It is also possible to access named parameters via arguments passed to the handler function.
-Named parameters will be passed in the order they are speicifed in the route pattern.
-
- var router = bogart.router();
- router.get('/hello/:name', function(req, name) {
- return bogart.html('Hello '+name);
- });
-
Route patterns support wildcards. Wildcards will match anything whereas regular named parameters
will not match beyond a path separator ("/").

0 comments on commit 500d4dc

Please sign in to comment.