diff config/environments/production.rb @ 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 efc548be0a3a
children 257910c60eb3
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