getPages not working on Custom Page
I am trying to redirect a View Custom page to another Custom Page.
So I added this on Notificaiton custom Page
The EditNotification is another custom page where I wanted to show specific datas
However I do not see the route on phpartisan list causing me to have
Route [filament.pages.notifications.edit] not defined.

Solution:Jump to solution
Was able to solve it by using this on custom page
protected static ?string $slug = 'notification/{slug}/edit';
4 Replies
On the view of Notification custom page this is how I try to redirect to another custom page.
Why don't you have a route to the page? did you add it to the resources getPages? https://filamentphp.com/docs/3.x/panels/resources/custom-pages#overview
I do not have resources, only custom pages
Solution
Was able to solve it by using this on custom page
protected static ?string $slug = 'notification/{slug}/edit';