express-resource
express-resource copied to clipboard
Resourceful routing for Express
Redid this pull request with an included test case and verified all test cases still pass.
I noticed that URL generation has been added as an issue like 2 years ago and there's even an orphaned pull request for it. The pull request seems to be...
`options` is a local variable, so it's properties shall be copied into `actions`, otherwise options get lost.
If you use "default" or "default_get" actions in your controllers, you need to add third "next" parameter to all other actions, example: index: function(req, res, next) { ... }, otherwise...
fixes warning from express 3.6.0: "express: app.del: Use app.delete instead"
`app.del` is being used for the destroy route, but `.del` has been deprecated since Express 4.2 - it still exists, but it should be removed. I couldn't tell from the...
We are using nodejs(v 0.10.29 ) ,express,nginx( version 1.4.6) with mongodb(v 2.6.3) replicaset and getting intermittent 502 bad gateway error. pm2 logs is unable to log error though nginx aerror.log...
Hi, looks handy express-resource, will it support express 4 too? thanks, A.C.
It would be nice to be able to set route middleware. Specifically, when mapping the users resource: var user = app.resource('users', require('./user')); It would be great to do something like:...
When does the load function actually add to the request object? For the show route it adds fine, but for index, the property for the singular named route is not...