From dc97dc507bbdfc47b478321f844d626a15f18888 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Mon, 5 Dec 2022 15:05:03 +0100 Subject: [PATCH] exemple --- app/models/communication/website/permalink/post.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/communication/website/permalink/post.rb b/app/models/communication/website/permalink/post.rb index 4fc9e7574..fb37f8aca 100644 --- a/app/models/communication/website/permalink/post.rb +++ b/app/models/communication/website/permalink/post.rb @@ -7,6 +7,7 @@ class Communication::Website::Permalink::Post < Communication::Website::Permalin :posts end + # /actualites/2022/10/21/un-article/ def self.pattern_in_website(website) "#{website.special_page(:communication_posts).path_without_language}:year/:month/:day/:slug/" end -- GitLab