From 28c67b8bc3e57abbebdbf45c1fa69e61b454193a Mon Sep 17 00:00:00 2001 From: Aurel Branzeanu Date: Thu, 12 Dec 2024 12:37:07 +0200 Subject: [PATCH] Disable assets compiling on production --- config/environments/production.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index f071483d..0f5949d0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -21,6 +21,8 @@ # Compress CSS using a preprocessor. config.assets.css_compressor = :sass + config.assets.compile = false + # Turn on fragment caching in view templates. config.action_controller.perform_caching = true