From 7a35c5efadf0e1d6ec91dcc023cac5712139da14 Mon Sep 17 00:00:00 2001
From: Harald Eilertsen <haraldei@anduin.net>
Date: Fri, 30 Nov 2018 19:59:33 +0100
Subject: Don't fall back to compiling assets in staging.

This makes staging behave like production, so that we discover issues
with missing precompiled assets before prod.
---
 config/environments/staging.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/environments/staging.rb b/config/environments/staging.rb
index 65c0e3c..c852a5c 100644
--- a/config/environments/staging.rb
+++ b/config/environments/staging.rb
@@ -15,7 +15,7 @@ BetaWebApp::Application.configure do
   config.assets.compress = true
 
   # Don't fallback to assets pipeline if a precompiled asset is missed
-  config.assets.compile = true
+  config.assets.compile = false
 
   # Generate digests for assets URLs
   config.assets.digest = true
-- 
cgit v1.2.3