changeset 50:3f419d621b06

Rename config option. Changed in rails 4.2.
author nanaya <me@myconan.net>
date Thu, 23 Apr 2015 16:30:47 +0900
parents 929218b3b2e2
children d4bda7501b77
files config/environments/production.rb config/environments/test.rb
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/config/environments/production.rb	Thu Apr 23 16:23:36 2015 +0900
+++ b/config/environments/production.rb	Thu Apr 23 16:30:47 2015 +0900
@@ -20,7 +20,7 @@
   # 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
 
   # Specifies the header that your server uses for sending files.
   # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
--- a/config/environments/test.rb	Thu Apr 23 16:23:36 2015 +0900
+++ b/config/environments/test.rb	Thu Apr 23 16:30:47 2015 +0900
@@ -13,7 +13,7 @@
   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.