You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2784f9d492
Arguments passed in to the route method at route time will be passed in to the handler for that route. var router = new Router() router.add('/some/path' function (someParam) { // someParam would be 123 }) router.route('/some/path', {args: [123]}) |
9 years ago | |
---|---|---|
.. | ||
route-node.js | 9 years ago | |
router.js | 9 years ago | |
utils.js | 9 years ago |