vanillaforums/jsConnectRuby — pull request #4 by JasonBarnabe (2014-07-08 03:37:26+00:00)
Title: Send response as JavaScript in example controller

Getting this with Chrome on sign in:

> Refused to execute script from '(my URL)' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Sending the result as JS fixes it.