Disable Rails's static asset server (Apache or nginx will already do this)
This commit is contained in:
parent
a34a86fdee
commit
645d4cda3b
|
@ -9,10 +9,7 @@ AdoptAThing::Application.configure do
|
||||||
config.action_controller.perform_caching = true
|
config.action_controller.perform_caching = true
|
||||||
|
|
||||||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||||
# config.serve_static_assets = false
|
config.serve_static_assets = false
|
||||||
|
|
||||||
# Enable Rails's static asset server
|
|
||||||
config.serve_static_assets = true
|
|
||||||
|
|
||||||
# Compress JavaScripts and CSS
|
# Compress JavaScripts and CSS
|
||||||
config.assets.compress = true
|
config.assets.compress = true
|
||||||
|
|
Loading…
Reference in New Issue