krakenjs/express-enrouten — pull request #60 by ArnauAregall (2014-11-22 17:44:26+00:00)
Title: "routes": added support for configuring middleware functions per route.

Hello!
This afternoon I discovered this module due a link in the KrakenJS site.

I started using it on a project of mine and found that lacked support for defining middleware on each route in `routes`.
So, I implemented it! :relaxed:

Each new object in the `routes`array now can have a `middlewares` property, that will define all the `functions` that will be executed before the `handler` (in order).
I added unit tests for it, making sure code coverage is still 100%, and also updated the `README.md` to add a reference to this new property.

I hope this helps!

Cheers,
Arnau.