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.
Buddy Sandidge 2784f9d492 Add the ability to pass arguments to the route handler at route time
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
..
error.js Correctly handle not found errors in partial routes 9 years ago
route-node.js Correctly handle not found errors in partial routes 9 years ago
router.js Add the ability to pass arguments to the route handler at route time 9 years ago
utils.js Add support for functions in router 9 years ago