Skip to content

Commit

Permalink
Merge pull request #28820 from clement-jacquet/abilityMap
Browse files Browse the repository at this point in the history
[5.8] Add 'index' => 'viewAny' to resourceAbilityMap
  • Loading branch information
taylorotwell authored Jun 12, 2019
2 parents a986126 + c9f957a commit 21da43f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function authorizeResource($model, $parameter = null, array $options = []
protected function resourceAbilityMap()
{
return [
'index' => 'viewAny',
'show' => 'view',
'create' => 'create',
'store' => 'create',
Expand Down

0 comments on commit 21da43f

Please sign in to comment.