rangle/koast — pull request #33 by rafkhan (2014-09-30 06:15:20+00:00)
Title: Mongo map refactor

@yuri @e-schultz
So, I started implemented the mongo mapper .auto() function as a function that generates an express router. However, I realized there is absolutely no point whatsoever to having auto because the user can simply type:

```javascript
router.get('/asd/:id', mapper.get('model'));
router.post('/asd/:id', mapper.post('model'));
router.del('/asd/:id', mapper.del('model'));
```

I don't think making this anymore abstract is necessary. It adds more complexity with almost no gain. So I semi sarcastically removed it and pushed it here. (Compounded with the bootstrapper PR).

Also, tests still pass even with .auto() commented out...