From 71332f454d6c4c62f0e6c17a232021853a84879d Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 24 Aug 2023 14:32:36 +0200
Subject: [PATCH] theme

---
 app/models/communication/website/with_connected_objects.rb | 1 +
 app/models/communication/website/with_theme.rb             | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/communication/website/with_connected_objects.rb b/app/models/communication/website/with_connected_objects.rb
index 4beef303d..b780608ed 100644
--- a/app/models/communication/website/with_connected_objects.rb
+++ b/app/models/communication/website/with_connected_objects.rb
@@ -19,6 +19,7 @@ module Communication::Website::WithConnectedObjects
     initialize_menus
     sync_with_git_without_delay
     destroy_obsolete_git_files_without_delay
+    get_current_theme_version!
   end
   handle_asynchronously :clean_and_rebuild, queue: :low_priority
 
diff --git a/app/models/communication/website/with_theme.rb b/app/models/communication/website/with_theme.rb
index b2d1e9f7a..32416661a 100644
--- a/app/models/communication/website/with_theme.rb
+++ b/app/models/communication/website/with_theme.rb
@@ -12,7 +12,6 @@ module Communication::Website::WithTheme
     end
   end
 
-
   def get_current_theme_version!
     self.update_column :theme_version, current_theme_version
   end
-- 
GitLab