From 736542834194440126ffb240f7b399f527620932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Pereira=20de=20Lucena?= Date: Wed, 13 Dec 2023 13:46:27 +0100 Subject: [PATCH] Remove Meetings from the footer menu It's already there --- config/initializers/metadecidim_menu.rb | 7 ------- spec/features/menu_spec.rb | 1 - 2 files changed, 8 deletions(-) diff --git a/config/initializers/metadecidim_menu.rb b/config/initializers/metadecidim_menu.rb index 21bf97e..5b34186 100644 --- a/config/initializers/metadecidim_menu.rb +++ b/config/initializers/metadecidim_menu.rb @@ -65,13 +65,6 @@ position: 20, active: :inclusive - meetings_path = Decidim::Meetings::DirectoryEngine.routes.url_helpers.root_path - menu.add_item :meetings, - I18n.t("menu.meetings", scope: "decidim"), - meetings_path, - position: 30, - active: :inclusive - governance_path = Decidim::Assemblies::Engine.routes.url_helpers.assembly_path("our-governance") menu.add_item :governance, I18n.t("menu.governance", scope: "decidim"), diff --git a/spec/features/menu_spec.rb b/spec/features/menu_spec.rb index d5dd4c3..71912d8 100644 --- a/spec/features/menu_spec.rb +++ b/spec/features/menu_spec.rb @@ -54,7 +54,6 @@ expect(page).to have_content("Home") expect(page).to have_content("Start here") expect(page).to have_content("Participate") - expect(page).to have_content("Meetings") expect(page).to have_content("Our governance") expect(page).to have_content("News") expect(page).to have_content("Chat")