Allow Rails to serve static assets by default, in production mode...

... in order to allow running successfully in production mode locally via
`rails s -e production`
This commit is contained in:
James Mason 2014-06-17 10:57:16 -07:00
parent a96c9fddaa
commit fbe97485e9

View file

@ -14,8 +14,9 @@ Osem::Application.configure do
# Rake tasks automatically ignore this option for performance.
config.eager_load = 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
# Set to false if serving directly through your web server, or using an asset host
config.serve_static_assets = true
# Compress JavaScripts and CSS
config.assets.compress = true