renamed config.serve_static_assets to config.serve_static_files

This commit is contained in:
Georg G 2015-04-18 21:56:05 +02:00
parent af170671ec
commit 77c8026e2f
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,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

View File

@ -13,7 +13,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.