diff --git a/README.md b/README.md index 45b8e14e..6befe8e5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ myHandlers.newPost = { } }; -router.getHandler = function(name) { +router.getRoute = function(name) { return myHandlers[name]; }; ```