diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index a2eb5b4c..1111de80 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -10,13 +10,13 @@ = csrf_meta_tags :javascript window.liveSettings = { - api_key: "<%= CONFIG['transifex_live_api_key'] %>", + api_key: "#{CONFIG['transifex_live_api_key']}", picker: "bottom-right", detectlang: true, autocollect: true }; = content_for(:script_head) - =# javascript_include_tag "//cdn.transifex.com/live.js" + = javascript_include_tag "//cdn.transifex.com/live.js" = yield(:head) %body