Correct Transifex API key parsing. Fixes #573
This commit is contained in:
parent
bca62e6204
commit
e9f9f6524b
1 changed files with 2 additions and 2 deletions
|
|
@ -10,13 +10,13 @@
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
:javascript
|
:javascript
|
||||||
window.liveSettings = {
|
window.liveSettings = {
|
||||||
api_key: "<%= CONFIG['transifex_live_api_key'] %>",
|
api_key: "#{CONFIG['transifex_live_api_key']}",
|
||||||
picker: "bottom-right",
|
picker: "bottom-right",
|
||||||
detectlang: true,
|
detectlang: true,
|
||||||
autocollect: true
|
autocollect: true
|
||||||
};
|
};
|
||||||
= content_for(:script_head)
|
= content_for(:script_head)
|
||||||
=# javascript_include_tag "//cdn.transifex.com/live.js"
|
= javascript_include_tag "//cdn.transifex.com/live.js"
|
||||||
|
|
||||||
= yield(:head)
|
= yield(:head)
|
||||||
%body
|
%body
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue