PerlDancer/Dancer2 — pull request #421 by veryrusty (2013-09-01 13:14:16+00:00)
Title: Plugin::Ajax - set content_type in keyword and remove before hook.

The before hook in Plugin::Ajax was added in Dancer1 as there are two ways to define ajax route. In D2 there is only one option, so the content_type header in the response can be set in the handler for the ajax keyword.

Closes #141.