From 24437bb6b790c1638fe7fbe8e888129a4939806d Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 7 Sep 2023 15:57:05 +0200
Subject: [PATCH] dependencies

---
 app/models/communication/website/agenda/event.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app/models/communication/website/agenda/event.rb b/app/models/communication/website/agenda/event.rb
index ef9a4f321..8fd5c744a 100644
--- a/app/models/communication/website/agenda/event.rb
+++ b/app/models/communication/website/agenda/event.rb
@@ -99,6 +99,11 @@ class Communication::Website::Agenda::Event < ApplicationRecord
     "admin/communication/websites/agenda/events/static"
   end
 
+  def dependencies
+    active_storage_blobs +
+    blocks
+  end
+
   def to_s
     "#{title}"
   end
-- 
GitLab