thomseddon/node-oauth2-server — pull request #119 by towynlin (2014-10-21 02:29:50+00:00)
Title: Correctly handle array of routes for a method in express 3

Was previously failing as follows because an array
has no "callbacks" property.

oauth2-server/lib/oauth2server.js:217
app.routes[method].callbacks.forEach(lockdownExpress3);
^
TypeError: Cannot call method 'forEach' of undefined
at OAuth2Server.lockdown (oauth2-server/lib/oauth2server.js:217:36)