From ec5601fc6a3d61c9e84a0ecbaa906c0144c3dd04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Hal=C3=A1sz?= Date: Mon, 23 Jul 2018 14:39:12 +0200 Subject: [PATCH] Do not fallback-compile missing assets --- config/environments/production.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 41dc461548e..907c877533a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -18,9 +18,8 @@ # Compress JavaScripts and CSS config.assets.compress = true - # Fallback to the asset pipeline if a precompiled asset is missed. - # TODO: Once everything is in the asset pipeline, this should be set back to false. - config.assets.compile = true + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false # Generate digests for assets URLs config.assets.digest = true