We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd2c94 commit e258dc0Copy full SHA for e258dc0
test_app/config/environments/production.rb
@@ -9,7 +9,7 @@
9
config.action_controller.perform_caching = true
10
11
# Disable Rails's static asset server (Apache or nginx will already do this)
12
- config.serve_static_assets = false
+ config.serve_static_files = false
13
14
# Compress JavaScripts and CSS
15
config.assets.compress = true
test_app/config/environments/test.rb
@@ -8,7 +8,7 @@
8
config.cache_classes = true
# 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"
# Log error messages when you accidentally call methods on nil
0 commit comments