diff --git a/app/models/communication/website/agenda/category.rb b/app/models/communication/website/agenda/category.rb index e7cb08747accf07841d39d19b3391b7c8a84cd47..9bb8bff20c1a82544961f216bd998c39931eddb4 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)