Skip to content

Instantly share code, notes, and snippets.

@cgfarmer4
Created August 2, 2012 19:42
Show Gist options
  • Save cgfarmer4/3240026 to your computer and use it in GitHub Desktop.
Save cgfarmer4/3240026 to your computer and use it in GitHub Desktop.
app.locals.use(function(req, res, done) {
res.locals.request = req;
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment