diff --git a/app/models/communication/website/permalink/post.rb b/app/models/communication/website/permalink/post.rb index 0c4e62332a0b0cc24ae0ecaf75bf3ad083005781..a25c8d1d5532c856f1c3a843203b50a8c1e9a721 100644 --- a/app/models/communication/website/permalink/post.rb +++ b/app/models/communication/website/permalink/post.rb @@ -7,7 +7,7 @@ class Communication::Website::Permalink::Post < Communication::Website::Permalin :posts end - # /actualites/2022-10-21/un-article/ + # /actualites/2022-10-21-un-article/ # Pas de /fr au dƩbut, parce qu'Hugo a besoin du permalink sans langue def self.pattern_in_website(website) "#{website.special_page(:communication_posts).path_without_language}:year-:month-:day-:slug/"