From c089f6eff245846c7232846a7e6081935e595fdd Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 18 Jan 2023 13:48:01 -0800 Subject: [PATCH] Reference the accessory instance instead of the model --- resources/views/accessories/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.php index 5c81e91db7..82d7c8201a 100644 --- a/resources/views/accessories/view.blade.php +++ b/resources/views/accessories/view.blade.php @@ -84,7 +84,7 @@ @endcan - @can('update', \App\Models\Accessory::class) + @can('update', $accessory)
  • {{ trans('button.upload') }}