Action Url
How to get record from one resource to another resource through Action Url...
9 Replies
can you share the code that you are trying to do?
Action::make('employee_details')->label('Employee Details')
->url(fn (Work $record) => EmployeeWorkResource::getUrl('index', ['record' => $record])),
is it a page action? What is the issue?
in resource action...i need to get record in EmployeeWorkResource, how to retrive it.
where is this action?
this action in one rfesource
ok but what page?
did you register on
getActions
or getHeaderActions
?getActions
can you share the whole code?
getActions on the EditPage/ViewPage?