diff options
| author | Florent Peyraud | 2017-12-17 15:44:22 +0100 | 
|---|---|---|
| committer | Florent Peyraud | 2017-12-17 15:44:22 +0100 | 
| commit | 6ad5065b352ab0b753268d23dcf4ae1d7a33b70c (patch) | |
| tree | c706c430fde72b08faeb14e904108ba3f2dca584 | |
| parent | bbf39fed49933feac8f6cede7ada96bd4da5d662 (diff) | |
| download | chouette-core-6ad5065b352ab0b753268d23dcf4ae1d7a33b70c.tar.bz2 | |
fix bug in JSON parsing
| -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" | 
