How to redirect Filament resource sidebar link to edit page instead of index
I want to customize the behavior of a Filament resource so that clicking its name in the sidebar redirects to the edit form of the first record, instead of the default index page (table view). How can I achieve this? I’ve tried modifying getPages and getRoutes, but it still goes to the index page. Is there a way to override the sidebar link or set up a redirect?
1 Reply