From 36f714e4147b477e234a4264aae451f94aace52d Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 3 Jun 2022 12:52:53 -0700 Subject: [PATCH] Updated Asset Model gate to correctly display the button on view Signed-off-by: snipe --- resources/views/models/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/models/view.blade.php b/resources/views/models/view.blade.php index 96fef52f58..3a4ddca44a 100755 --- a/resources/views/models/view.blade.php +++ b/resources/views/models/view.blade.php @@ -8,7 +8,7 @@ @stop @section('header_right') - @can('superuser') + @can('update', \App\Models\AssetModel::class)