From 116cad88a035be0619c366b38106d9697ccfce16 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 29 Mar 2018 11:28:37 -0700 Subject: [PATCH] Fixed #5279 - [regression] edit button not appearing in asset view --- resources/views/hardware/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 82f2376b73..780a449533 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -25,7 +25,7 @@ @endcan @endif @endif - @can('edit', \App\Models\Asset::class) + @can('update', \App\Models\Asset::class)
  • {{ trans('admin/hardware/general.edit') }}
  • @endcan @can('create', \App\Models\Asset::class)