FilamentF
Filament15mo ago
D2RTECH

Trying to call a view of another resource from a table

I am trying to call laptop assignment view from laptop table action.
Tables\Actions\ViewAction::make()
->url(fn ($record) => route('filament.resources.laptop-assignments.create', ['record' => $record]))
])

But i always get that the route is not defined. How can i make it work?
Was this page helpful?