Skip to content
Snippets Groups Projects
Commit 2a6fcbbc authored by pabois's avatar pabois
Browse files

notes

parent 31d7e91f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment