visionmedia / express-resource

Resourceful routing for Express
1.41k stars 140 forks source link

Nested resources autoload callback #22

Closed pacovell closed 13 years ago

pacovell commented 13 years ago

I have a task nested in a list, and the task ID is dependent on the list. The list is auto-loaded, but I can't get access to the list in the task auto-loader because it doesn't receive the request. Is there a more elegant solution, or can/should we pass req down through the auto-load callback?

tj commented 13 years ago

yeah, would be easy enough to pass those

pacovell commented 13 years ago

Pull request issue #23, closing.