Skip to content
Snippets Groups Projects
Commit 907eab48 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 52e9d4d8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment