/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
before_filter :header_javascript def header_javascript response.headers['Content-type'] = 'text/javascript; charset=utf-8' end
before_filter :header_javascript def header_javascript response.headers['Content-type'] = 'text/javascript; charset=utf-8' end