F
Filament11mo ago
MRBUG

how can i create a user clickable and send to the edit page of the user

hii I have a table Posts in filamentphp and in this table, i have a column where I am showing the user name who created a post so I want the user name clickable and when I click to the name of the user it will send/redirect me to the users edit page how can I get this functionality in filamentPHP version 3 . please help
2 Replies
josef
josef11mo ago
->url(static fn (Model $record): string => UserResource::getUrl('edit', ['record' => $record->user])) ... adapt as needed
MRBUG
MRBUG11mo ago
thank you so much sir.