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:

public static function getPages(): array
    {
        return [
            'index' => Pages\ListFunbels::route('/'),
            'create' => Pages\CreateFunbel::route('/create'),
            'edit' => Pages\EditFunbel::route('/{record}/edit'),
        ];
    }



How can I achieve this?
Was this page helpful?