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

Fix #1469

parent 1b59cefb
No related branches found
No related tags found
No related merge requests found
......@@ -51,13 +51,12 @@ class Communication::Website::Agenda::Category < ApplicationRecord
foreign_key: :communication_website_agenda_category_id,
association_foreign_key: :communication_website_agenda_event_id
def to_s
"#{name}"
end
def git_path(website)
"#{git_path_content_prefix(website)}events_categories/#{slug_with_ancestors_slugs}/_index.html"
"#{git_path_content_prefix(website)}events_categories/#{slug}/_index.html"
end
def template_static
......
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