Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix(Admin Menu Item): Use absolute path to mitigate routing exception red herring

Kabiru Mwenja9fd6929f341d
diff --git a/modules/webhooks/lib/open_project/webhooks/engine.rb b/modules/webhooks/lib/open_project/webhooks/engine.rb
index 4b65c8343fa..af9f121f4a7 100644
--- a/modules/webhooks/lib/open_project/webhooks/engine.rb
+++ b/modules/webhooks/lib/open_project/webhooks/engine.rb
@@ -39,7 +39,7 @@ module OpenProject::Webhooks
author_url: "https://www.openproject.org" do
menu :admin_menu,
:plugin_webhooks,
- { controller: "webhooks/outgoing/admin", action: :index },
+ { controller: "/webhooks/outgoing/admin", action: :index },
if: Proc.new { User.current.admin? },
parent: :api_and_webhooks,
caption: :"webhooks.plural"