From 440066500d312acb75a678d8524d47d9bee9d510 Mon Sep 17 00:00:00 2001 From: Ariel Spear Date: Wed, 16 Jul 2014 14:24:38 -0700 Subject: [PATCH] Changed comment about authorization to be more understandable. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ee5793b..fd16c85 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ api.post('/sessions', admit.authenticate, function(req, res) { res.json({ session: req.auth.user }); }); -// all routes defined from here on will require authorization +// all routes defined below this line will require authorization api.use(admit.authorize); api.delete('/sessions/current', admit.invalidate, function(req, res) { if (req.auth.user) { throw new Error('Session not invalidated.'); }