From 907eab483d4d6200d751a712bcb5f51eb4a8d181 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Wed, 17 Jan 2024 14:35:28 +0100 Subject: [PATCH] fix --- app/models/communication/website/agenda/category.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/models/communication/website/agenda/category.rb b/app/models/communication/website/agenda/category.rb index e7cb08747..9bb8bff20 100644 --- a/app/models/communication/website/agenda/category.rb +++ b/app/models/communication/website/agenda/category.rb @@ -63,6 +63,17 @@ class Communication::Website::Agenda::Category < ApplicationRecord "admin/communication/websites/agenda/categories/static" end + def dependencies + active_storage_blobs + + contents_dependencies + + [website.config_default_content_security_policy] + end + + def references + events + + website.menus + end + protected def slug_unavailable?(slug) -- GitLab