visionmedia / express-resource

Resourceful routing for Express
1.41k stars 140 forks source link

Bind handler to container before creating route #80

Closed sgronblo closed 10 years ago

sgronblo commented 10 years ago

Allows proper use of this in handlers

sgronblo commented 10 years ago

After taking the time to run the tests I noticed the bind is applied in the wrong place. Because of content-negotiation support we should be binding in map instead.