We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
config.serve_static_assets
config.serve_static_files
1 parent 46e6fd2 commit 28aa5afCopy full SHA for 28aa5af
spec/dummy/config/environments/production.rb
@@ -20,7 +20,7 @@
20
# config.action_dispatch.rack_cache = true
21
22
# Disable Rails's static asset server (Apache or nginx will already do this).
23
- config.serve_static_assets = false
+ config.serve_static_files = false
24
25
# Compress JavaScripts and CSS.
26
config.assets.js_compressor = :uglifier
spec/dummy/config/environments/test.rb
@@ -13,7 +13,7 @@
13
config.eager_load = false
14
15
# Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
+ config.serve_static_files = true
17
config.static_cache_control = 'public, max-age=3600'
18
19
# Show full error reports and disable caching.
0 commit comments