Skip to content
Snippets Groups Projects
Commit 87b1054d authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Merge branch 'feature/previous_links' of github.com:noesya/osuny into feature/previous_links

parents 3df378ce 68ab11bd
No related branches found
No related tags found
Loading
......@@ -88,6 +88,7 @@ class Communication::Website::Permalink < ApplicationRecord
}
end
# Can be overwritten (Page for example)
def published_path
p = pattern
substitutions.each do |key, value|
......@@ -101,6 +102,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