diff --git a/app/models/communication/website/permalink/publication.rb b/app/models/communication/website/permalink/publication.rb index 4a9b486c247e685b55ff2a2e51ac5bb919a5c423..fe9b5db233ee06ffe8be5c88fa2aa9a74e1c3f5f 100644 --- a/app/models/communication/website/permalink/publication.rb +++ b/app/models/communication/website/permalink/publication.rb @@ -33,7 +33,7 @@ class Communication::Website::Permalink::Publication < Communication::Website::P end def self.pattern_in_website(website, language) - "/#{website.special_page(Communication::Website::Page::ResearchHalPublication, language: language).slug_with_ancestors}/:year/:slug/" + "/#{website.special_page(Communication::Website::Page::ResearchHalPublication, language: language).slug_with_ancestors}/:year-:slug/" end protected