How to have a custom route for new entry?
I want to add have a custom url/route to add a new entry (the button on the top right of a table)
I receive an error ("not enough memory") if I change the create route here:
How can I achieve this?
2 Replies
are you echo'n or print_r any data on your custom page?
I have a custom page (totally independent from Filament) which I want to use
Solved it like this:
``` class ListFunbels extends ListRecords
{
protected static string $resource = FunbelResource::class;
protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make()->url(route('funbel.create'), shouldOpenInNewTab: false),
];
}
}