diff --git a/app/models/communication/website/permalink.rb b/app/models/communication/website/permalink.rb index fb5d865d07ca52a38c1fc0db2840073083eed41e..1fce8b0feb7a55e8af8cc7e702af966e35d98c56 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