be safe even with locale string

This commit is contained in:
wvengen 2013-07-07 02:31:42 +02:00
parent 8080cd6b7e
commit d397132f7b

View file

@ -23,6 +23,6 @@
\==================================================
/ Placed at the end of the document so the pages load faster
:javascript
I18n = {locale: '#{I18n.locale}'}
I18n = {locale: '#{j(I18n.locale.to_s)}'}
= javascript_include_tag "application"
= yield(:javascript)