diff options
| author | Florent Peyraud | 2017-12-17 15:42:52 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-01-07 23:22:19 +0100 | 
| commit | 9635074375e5416cb39f1bc63d20ee582fe8bc82 (patch) | |
| tree | 75fbe36c6fea10808846a4c939d330598527936b | |
| parent | 1d100b42b9a47c73dc7723775407308b19b14f54 (diff) | |
| download | chouette-core-9635074375e5416cb39f1bc63d20ee582fe8bc82.tar.bz2 | |
public_file_server ?
| -rw-r--r-- | config/environments/production.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/config/environments/production.rb b/config/environments/production.rb index 64eeaa854..5dcffd9e6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -20,7 +20,8 @@ Rails.application.configure do    # Disable Rails's static asset server (Apache or nginx will already do this).    # config.serve_static_files = false -  config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? +  config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present? +  # config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?    # Compress JavaScripts and CSS.    config.assets.js_compressor = :uglifier | 
