Skip to content

Commit

Permalink
Add 'index' => 'viewIndex' to resourceAbilityMap()
Browse files Browse the repository at this point in the history
Re-submitting laravel#28881 because its merge into master resulted in no files changed
  • Loading branch information
philipnewcomer committed Aug 8, 2019
1 parent 6264311 commit 80a975e
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 80a975e

Please sign in to comment.