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

slug hotfix

parent 2b6ecce7
No related branches found
No related tags found
No related merge requests found
......@@ -11,4 +11,12 @@ class Communication::Website::Permalink::Program < Communication::Website::Perma
def self.pattern_in_website(website, language)
"/#{website.special_page(Communication::Website::Page::EducationProgram, language: language).slug_with_ancestors}/:slug/"
end
protected
def substitutions
{
slug: about.path
}
end
end
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