From 312c36c8eb6130c7d3745cc9aae041d42e659157 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Mon, 25 Jun 2012 04:09:55 -0700 Subject: [PATCH] Fallback to assets pipeline if a precompiled asset is missed --- 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 3396f54..5450335 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -14,8 +14,8 @@ AdoptAThing::Application.configure do # Compress JavaScripts and CSS config.assets.compress = true - # Don't fallback to assets pipeline if a precompiled asset is missed - config.assets.compile = false + # Fallback to assets pipeline if a precompiled asset is missed + config.assets.compile = true # Generate digests for assets URLs config.assets.digest = true