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

Fix #1460, fix #1465

parent 15713847
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ class Communication::Website::Post::Category < ApplicationRecord
end
def template_static
"admin/communication/websites/categories/static"
"admin/communication/websites/posts/categories/static"
end
def dependencies
......
......@@ -87,7 +87,7 @@ module Communication::Website::WithAssociatedObjects
end
def has_communication_categories?
categories.any?
post_categories.any? || agenda_categories.any?
end
def has_organizations?
......
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