© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
RixzZ

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:
- AdminPanelProvider.php: https://gist.github.com/RixzZ/09ded422435950d7c303189a9232ec5c
- UserResource.php (on App/Filament/Resources/Admin): https://gist.github.com/RixzZ/a9e426f6010726c9ea2d5c9119678781

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.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How can I use same Resources for multiple panels?
FilamentFFilament / ❓┊help
3y ago
Reuse the same Resources in multiple panels
FilamentFFilament / ❓┊help
3y ago
Panels with some identical resources
FilamentFFilament / ❓┊help
2y ago
Multiple panels
FilamentFFilament / ❓┊help
4w ago