Disable Rails's static asset server (Apache or nginx will already do this)

This commit is contained in:
Erik Michaels-Ober 2012-01-10 15:00:29 -08:00
parent a34a86fdee
commit 645d4cda3b
1 changed files with 1 additions and 4 deletions

View File

@ -9,10 +9,7 @@ AdoptAThing::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
# Enable Rails's static asset server
config.serve_static_assets = true
config.serve_static_assets = false
# Compress JavaScripts and CSS
config.assets.compress = true