From 76461f4e35e16d17847d19c7aedee44dee66de5c Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Wed, 16 Feb 2022 12:17:35 +0100 Subject: [PATCH] Fix #191 --- app/models/communication/website/menu/item/with_targets.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/communication/website/menu/item/with_targets.rb b/app/models/communication/website/menu/item/with_targets.rb index 8ca3adea7..f87d19f36 100644 --- a/app/models/communication/website/menu/item/with_targets.rb +++ b/app/models/communication/website/menu/item/with_targets.rb @@ -32,8 +32,7 @@ module Communication::Website::Menu::Item::WithTargets end def target_for_news_category - # TODO use communication_categories_path - "/#{website.structure.communication_posts_path}/categories#{about.path}" if about + "/#{website.structure.communication_posts_path}#{about.path}" if about end def target_for_staff -- GitLab