developmentseed/mirror — pull request #4 by makara (2012-05-14 09:09:31+00:00)
Title: Use handler as router callback

Originally #3.

Express's function `Router.prototype._route` does `callbacks = utils.flatten(toArray(arguments, 2))` which makes the `callbacks` a pure array, thus we need to pass functions as callbacks.

Please review. Thanks.