Skip to content

Commit 28aa5af

Browse files
committed
The configuration option config.serve_static_assets has been renamed to config.serve_static_files
1 parent 46e6fd2 commit 28aa5af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/dummy/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# config.action_dispatch.rack_cache = true
2121

2222
# Disable Rails's static asset server (Apache or nginx will already do this).
23-
config.serve_static_assets = false
23+
config.serve_static_files = false
2424

2525
# Compress JavaScripts and CSS.
2626
config.assets.js_compressor = :uglifier

spec/dummy/config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
config.eager_load = false
1414

1515
# Configure static asset server for tests with Cache-Control for performance.
16-
config.serve_static_assets = true
16+
config.serve_static_files = true
1717
config.static_cache_control = 'public, max-age=3600'
1818

1919
# Show full error reports and disable caching.

0 commit comments

Comments
 (0)