alexmingoia/koa-resource-router — pull request #9 by jankrueger (2014-04-27 13:42:51+00:00)
Title: Middleware compose fix

This adds a condition to the array wrapper when composing the middleware.
Without this adding middleware on creation ( Resource('users', preRequestMiddleware, actions) ) and per route failed.