ianstormtaylor/router — pull request #1 by trevorgerhardt (2013-08-16 21:46:43+00:00)
Title: Call `next` automatically for some middleware

If the function takes less than two arguments call `next` automatically after execution. Basically, if you don't need async you don't have to call `next`.

````
router.on('/route', function(ctx) {
// build view
ctx.view = new View();
}, showView);
````