Skip to content

Commit e258dc0

Browse files
committedMar 22, 2015
Update test_app env config to rails4
1 parent ddd2c94 commit e258dc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

Diff for: ‎test_app/config/environments/production.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
config.action_controller.perform_caching = true
1010

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

1414
# Compress JavaScripts and CSS
1515
config.assets.compress = true

Diff for: ‎test_app/config/environments/test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
config.cache_classes = true
99

1010
# Configure static asset server for tests with Cache-Control for performance
11-
config.serve_static_assets = true
11+
config.serve_static_files = true
1212
config.static_cache_control = "public, max-age=3600"
1313

1414
# Log error messages when you accidentally call methods on nil

0 commit comments

Comments
 (0)
Please sign in to comment.