Click ViewAction in RelationManager to view resource
With User hasmany Posts, If I have a UserResource\RelationManagers\PostsRelationManager how do I make its ViewAction to forward to ViewPost page, instead of showing the default modal popup?
Solution:Jump to solution
if you have a PostResource, you can use a redirect
```php
Tables\Actions\ViewAction::make()
->url(fn (Post $record): string => PostResource::getUrl('view', ['record' => $record->id]))...
1 Reply
Solution
if you have a PostResource, you can use a redirect