Need help on custom pages routing

1 Reply
Dennis Koch
Dennis Koch5mo ago
It's ::route() (singular) not ::routes() It's the getPages() declaration:
public static function getPages(): array
{

return [
// ...
'tambah' => Pages\TambahLaporan::route('/tambah'), // not ::routeS !
];
public static function getPages(): array
{

return [
// ...
'tambah' => Pages\TambahLaporan::route('/tambah'), // not ::routeS !
];

Did you find this page helpful?