diff --git a/app/models/communication/website/permalink/organization/category.rb b/app/models/communication/website/permalink/organization/category.rb index ef5fb6ec24e56acda322ab5f8f11b9b586191c83..fd2a47c14885443e299f6f03a6922a6e3b98468f 100644 --- a/app/models/communication/website/permalink/organization/category.rb +++ b/app/models/communication/website/permalink/organization/category.rb @@ -7,9 +7,9 @@ class Communication::Website::Permalink::Organization::Category < Communication: :organizations_categories end - # /organisations/:slug/ + # /organisations/categories/:slug/ def self.pattern_in_website(website, language) - "/#{slug_with_ancestors(website, language)}/:slug/" + "/#{slug_with_ancestors(website, language)}/categories/:slug/" end def self.special_page_type diff --git a/app/models/communication/website/permalink/person/category.rb b/app/models/communication/website/permalink/person/category.rb index 7b4b2ef0ec30ef1b35a7a31f8129e9cf5d116f4b..9d56a2e88b9d56df0d363188a64d7c86995e2440 100644 --- a/app/models/communication/website/permalink/person/category.rb +++ b/app/models/communication/website/permalink/person/category.rb @@ -7,9 +7,9 @@ class Communication::Website::Permalink::Person::Category < Communication::Websi :persons_categories end - # /equipe/:slug/ + # /equipe/categories/:slug/ def self.pattern_in_website(website, language) - "/#{slug_with_ancestors(website, language)}/:slug/" + "/#{slug_with_ancestors(website, language)}/categories/:slug/" end def self.special_page_type