be safe even with locale string
This commit is contained in:
parent
8080cd6b7e
commit
d397132f7b
1 changed files with 1 additions and 1 deletions
|
@ -23,6 +23,6 @@
|
||||||
\==================================================
|
\==================================================
|
||||||
/ Placed at the end of the document so the pages load faster
|
/ Placed at the end of the document so the pages load faster
|
||||||
:javascript
|
:javascript
|
||||||
I18n = {locale: '#{I18n.locale}'}
|
I18n = {locale: '#{j(I18n.locale.to_s)}'}
|
||||||
= javascript_include_tag "application"
|
= javascript_include_tag "application"
|
||||||
= yield(:javascript)
|
= yield(:javascript)
|
||||||
|
|
Loading…
Reference in a new issue