ForbesLindesay/connect-roles

Doc problem

minipai opened this issue · 1 comments

In http://documentup.com/ForbesLindesay/connect-roles
app.use(user);

In README
app.use(user.middleware());

which one is correct?

Also, can you add a note on what app.use(user); or app.use(user.middleware()); will do?

Document UP was out of date. Always trust the readme over any other sources. Document Up should be updated now.