From 509aeab02bda2af4337afb09485298d4fb459c6b Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 25 Mar 2014 13:01:35 -0300 Subject: [PATCH] rails3: serve assets to keep the old noosfero behaviour --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 3356e9f..b4aef51 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -8,8 +8,8 @@ Noosfero::Application.configure do # Full error reports are disabled and caching is turned on 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 (Apache or nginx should do this) + config.serve_static_assets = true # Compress JavaScripts and CSS config.assets.compress = true -- libgit2 0.21.2