playframework/playframework — pull request #2435 by julienrf (2014-03-03 13:55:06+00:00)
Title: Make the JavaScript reverse router return a JavaScript value

The current implementation of the JavaScript reverse router returns a `String`, forcing users to explicitly set their response content-type to `text/javascript`. This pull request replaces this `String` with a more meaningful `play.api.templates.JavaScript` type.