visionmedia / express-resource

Resourceful routing for Express
1.41k stars 140 forks source link

Added an option called 'base'. #14

Closed 5at closed 13 years ago

5at commented 13 years ago

Add 'base' as a setting to options and make use of the 'this.base' variable. This is so the resource can be 'based' or fixed to a deeper path than root ('/').