Fixed config.serve_static_assets DEPRECATION WARNING

This commit is contained in:
Al Snow
2015-08-19 12:16:41 -04:00
parent 5ac280566e
commit 0604fa3c4e
4 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Railsgoat::Application.configure do
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"
# Show full error reports and disable caching.