visionmedia/express — pull request #1156 by machadogj (2012-06-02 15:01:48+00:00)
Title: Ability to nest routes

I think it would be useful in some cases to be able to define routes with a given prefix, so for example I would like to be able to do something like this:

app.get('/', home);

app.with('/admin', function () {

app.get('/', adminHome); //(ie: localhost:3000/admin)

});