From f13bc7794cf48ac9b4e0a6c00122b5e653da24a5 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 12 Dec 2022 13:58:14 +0100 Subject: [PATCH] adjust comment --- app/models/communication/website/permalink/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/communication/website/permalink/post.rb b/app/models/communication/website/permalink/post.rb index 0c4e62332..a25c8d1d5 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/" -- GitLab