Infolist with pages?
I would like to have a table with infolist, as well as pages? Currently if I add pages for a site, cliking on the row takes me to the edit page. Can i make it so that clicking still opens infolist, but edit button takes you go
to edit page?
1 Reply
You should be able to customise where you when clicking a table row like this:
public function table(Table $table): Table
{
return $table
->recordUrl(
fn (Model $record): string => route('posts.edit', ['record' => $record]),
);
}
so just link them to view page for your resource which will be info list page