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') }}