buildcom/rendr — pull request #2 by jasonmerino (2013-10-02 22:44:37+00:00)
Title: Removed passing of next function

In trying to call the next function within the before function things broke dead (spat out some message about headers being changed after they are sent or something like that...). This is because we are not calling this function as middleware, we are calling it synchronously during route execution.

Lesson learned, the next function should not be exposed to the before function.