Skip to content

Commit

Permalink
README: change getHandler to getRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
Quasar-Kim committed May 16, 2021
1 parent 4f5d411 commit c0ebafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ myHandlers.newPost = {
}
};

router.getHandler = function(name) {
router.getRoute = function(name) {
return myHandlers[name];
};
```
Expand Down

0 comments on commit c0ebafc

Please sign in to comment.