Skip to content

Instantly share code, notes, and snippets.

@danfinlay
Created August 7, 2013 19:55
Show Gist options
  • Select an option

  • Save danfinlay/6177952 to your computer and use it in GitHub Desktop.

Select an option

Save danfinlay/6177952 to your computer and use it in GitHub Desktop.
module.exports = function (app, bundle) {
app.get('/multi/:bundle', get(bundle));
};
function get(something){
//Is 'something' the :bundle or the (app, bundle) parameter?
}
@danfinlay
Copy link
Author

Oh, I think to access :bundle you say req.params.bundle, nevermind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment