Multiple panels with own folder for resources duplicates path?

I have two panels (main on / and admin on /admin) and have the discover* options with a custom subfolder on the Resources/Pages/Widgets default paths.

The thing is that the path for a resource is being duplicated.

For reference:
When I access the admin panel, the UserResource is discovered, but the url ends up being /admin/admin/users.

Any idea what I did wrong?
Solution
Okay... seems like you can't invert the position of the panel name in the namespace freely. By default it uses App/Filament/Admin/Resources/, and with that it works as expected.
Was this page helpful?