visionmedia/express — Issue #906: how to choose the 'correct' route
Author: lonevan
Created: 2011-11-25 10:53:31+00:00
State: open

There are two rotes:

/:uid
/user

When get '/user', the '/:uid' router catch it first.

app.match.get('/user') returned two routes.

Execute the second matched router '/user' explicitly , the 'next' router seems not correct.

so How to choose the second '/user' route to handle the request, just like 'res.location' ?