Created
August 7, 2013 19:55
-
-
Save danfinlay/6177952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function (app, bundle) { | |
| app.get('/multi/:bundle', get(bundle)); | |
| }; | |
| function get(something){ | |
| //Is 'something' the :bundle or the (app, bundle) parameter? | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, I think to access :bundle you say req.params.bundle, nevermind.