LearnBoost/express-mongoose — pull request #22 by laggyluke (2014-01-15 12:43:41+00:00)
Title: Fix `res.send()` without arguments

Vanilla `res.send()` without arguments should return HTTP 200 with no body, but before this patch express-mongoose was crashing with the following error:

TypeError: Cannot read property 'constructor' of undefined
at ServerResponse.expressmongoose_send [as send]
(/path/to/node_modules/express-mongoose/index.js:69:26)