mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Change the deprecated serve_static_assets to serve_static_files in env configs
This commit is contained in:
parent
080eb40184
commit
a6292a1598
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ Myapp::Application.configure do
|
|||
config.action_controller.perform_caching = true
|
||||
|
||||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||
config.serve_static_assets = false
|
||||
config.serve_static_files = false
|
||||
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
|
|
|
@ -8,7 +8,7 @@ Myapp::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"
|
||||
|
||||
config.eager_load = false
|
||||
|
|
Loading…
Add table
Reference in a new issue