Files
openproject/modules/webhooks
Kabiru Mwenja 796e93739e fix(Admin Menu Item): Use absolute path to mitigate routing exception red herring (#16031)
Without absolute paths, the routing definitions seem to implicitly scope within the current engine/namespace (not sure)
Causing an exception like so:

```ruby
# lib/redmine/menu_manager/menu_helper.rb:387 Redmine::MenuManager::MenuHelper#node_url:
[7] pry(#<#<Class:0x0000fffef642dd58>>)> e
=> #<ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"storages/webhooks/outgoing/admin", :layout=>nil, :storage_id=>"20"}>
```

---

From [@Klaus's](https://matrix.to/#/!fyQrllnnogDxQuleQW:openproject.org/$nO-kY0NegsJ9E3w-P1Lx3YtgeQeutrQ_ohR0xpsljjg?via=openproject.org) impression it seems using `namespace:` routes is the root cause. But this is still an odd and difficult bug to solve so we should probably think around improving it.

Co-authored-by: Pavel Balashou <p.balashou@openproject.com>
2024-07-03 15:05:01 +03:00
..
2024-01-02 16:23:54 +01:00