From 2a6fcbbc0c1a8307cd370ddaa02976df803cea1f Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Mon, 5 Dec 2022 15:25:29 +0100
Subject: [PATCH] notes

---
 app/models/communication/website/permalink.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/models/communication/website/permalink.rb b/app/models/communication/website/permalink.rb
index fb5d865d0..1fce8b0fe 100644
--- a/app/models/communication/website/permalink.rb
+++ b/app/models/communication/website/permalink.rb
@@ -83,6 +83,7 @@ class Communication::Website::Permalink < ApplicationRecord
     }
   end
 
+  # Can be overwritten (Page for example)
   def published_path
     p = pattern
     substitutions.each do |key, value|
@@ -96,6 +97,7 @@ class Communication::Website::Permalink < ApplicationRecord
     about.for_website?(website)
   end
 
+  # Can be overwritten
   def substitutions
     {
       slug: about.slug
-- 
GitLab