Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed May 28, 2024
1 parent 19d733e commit 459878c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ public function mapModel(Request $request, Model $model): array
'model' => $model,
'abilities' => $this->mapModelAbilities($request, $model),
'fields' => $this->resolveFields($request)
->subResource(false)
->authorized($request, $model)
->visible('index')
->mapToDisplay($request, $model),
Expand Down

0 comments on commit 459878c

Please sign in to comment.