From b43b68ac4f04402abeca271bb6103416c065dd00 Mon Sep 17 00:00:00 2001 From: Stella Date: Wed, 12 Nov 2014 18:44:25 +0200 Subject: [PATCH] api key not visible --- app/assets/javascripts/transifex-live.js | 2 +- config/config.yml.example | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/transifex-live.js b/app/assets/javascripts/transifex-live.js index e8539dfb..a93b35ac 100644 --- a/app/assets/javascripts/transifex-live.js +++ b/app/assets/javascripts/transifex-live.js @@ -1,5 +1,5 @@ window.liveSettings = { - api_key: "cf866a61277842b39c897c5a0b5ec075", + api_key: CONFIG['transifex_live_api_key'], picker: "bottom-right", detectlang: true, autocollect: true diff --git a/config/config.yml.example b/config/config.yml.example index 787427bb..412e109a 100644 --- a/config/config.yml.example +++ b/config/config.yml.example @@ -29,3 +29,7 @@ test: production: <<: *defaults + + # If you add more providers that do not require a key, you still have to create the 2 variables with sample data + + transifex_live_api_key: ''