Commit 509aeab02bda2af4337afb09485298d4fb459c6b
1 parent
f64b9db6
Exists in
master
and in
29 other branches
rails3: serve assets to keep the old noosfero behaviour
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
config/environments/production.rb
@@ -8,8 +8,8 @@ Noosfero::Application.configure do | @@ -8,8 +8,8 @@ Noosfero::Application.configure do | ||
8 | # Full error reports are disabled and caching is turned on | 8 | # Full error reports are disabled and caching is turned on |
9 | config.action_controller.perform_caching = true | 9 | config.action_controller.perform_caching = true |
10 | 10 | ||
11 | - # Disable Rails's static asset server (Apache or nginx will already do this) | ||
12 | - config.serve_static_assets = false | 11 | + # Enable Rails's static asset server (Apache or nginx should do this) |
12 | + config.serve_static_assets = true | ||
13 | 13 | ||
14 | # Compress JavaScripts and CSS | 14 | # Compress JavaScripts and CSS |
15 | config.assets.compress = true | 15 | config.assets.compress = true |