cloudhead/journey — pull request #25 by ealter (2012-06-12 08:29:47+00:00)
Title: Allow the return of strings instead of always JSON

When I was using the journey router, there were times when I wanted to return pure string responses instead of json. An example would be returning some html.

This commit changes the behavior of the request.send when passed strings. Instead of making json with "journey" as the key, this keeps it as a string.