diff options
| author | RobertDober | 2017-04-10 11:03:11 +0200 | 
|---|---|---|
| committer | RobertDober | 2017-04-11 15:40:26 +0200 | 
| commit | 7b9370d10a2d67b83610b8cf8b876734972c2ee9 (patch) | |
| tree | 37f7767c2efa2dc596e5668be1165fd20fb8925b /config/environments | |
| parent | b19578172fc0d8ddc3d9ec8fa325854a8eebbe69 (diff) | |
| download | chouette-core-7b9370d10a2d67b83610b8cf8b876734972c2ee9.tar.bz2 | |
Deprecation Warnings removed; Seeds corrected, Refs: #2070
Diffstat (limited to 'config/environments')
| -rw-r--r-- | config/environments/production.rb | 2 | ||||
| -rw-r--r-- | config/environments/test.rb | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/config/environments/production.rb b/config/environments/production.rb index 71fe99fe8..41b31b1e8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -19,7 +19,7 @@ Rails.application.configure do    # config.action_dispatch.rack_cache = true    # Disable Rails's static asset server (Apache or nginx will already do this). -  config.serve_static_assets = false +  config.serve_static_files = false    # Compress JavaScripts and CSS.    config.assets.js_compressor = :uglifier diff --git a/config/environments/test.rb b/config/environments/test.rb index b77a26273..d83b4fd85 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -15,7 +15,7 @@ Rails.application.configure do    config.eager_load = false    # Configure static asset server for tests with Cache-Control for performance. -  config.serve_static_assets  = true +  config.serve_static_files  = true    config.static_cache_control = 'public, max-age=3600'    # Show full error reports and disable caching. | 
