We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
It would be easier if the params were passed into the handler as an actual argument so the context could be bound to another object.
router.add('users/:userID', function (params) { console.log(params.userID) });