diff options
| author | Florent Peyraud | 2017-12-17 15:44:22 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-01-07 23:22:19 +0100 | 
| commit | 40f17707ecf48e8f0d9b111600005d26657ea9b4 (patch) | |
| tree | 7caa36297dd19e3bae34b4c48284ec250d721813 /config/environments | |
| parent | 9635074375e5416cb39f1bc63d20ee582fe8bc82 (diff) | |
| download | chouette-core-40f17707ecf48e8f0d9b111600005d26657ea9b4.tar.bz2 | |
fix bug in JSON parsing
Diffstat (limited to 'config/environments')
| -rw-r--r-- | config/environments/production.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/config/environments/production.rb b/config/environments/production.rb index 5dcffd9e6..828d3b29c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -106,12 +106,12 @@ Rails.application.configure do      "type": "cas",      "cas_server": "https://portail.stif.info/sessions",      "cas_validate_url": "http://portail.stif.info/sessions/proxyValidate" -  }',{symbolize_names: true})) +  }'),{symbolize_names: true})    config.stif_portail_api = JSON.parse(ENV.fetch('SESAME_API_SETTINGS','{      "key": "xxxxxxxxxxx",      "url": "http://portail.stif.info" -  }',{symbolize_names: true})) +  }'),{symbolize_names: true})    # file to data for demo    # config.demo_data = "/path/to/demo.zip" | 
