segmentio/koa-params — pull request #1 by eivindfjeldstad (2014-02-01 19:16:54+00:00)
Title: change .param to not require next

simplifies the code, but requires you to call `ctx.throw`to end the request (just like you would in the route handlers). If you don't want this I'll be happy to maintain a fork :)

```js
route.param('user', function *(id){
this.user = users[id];
if (!this.user) this.throw(404);
});
```