Updated Asset Model gate to correctly display the button on view

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-03 12:52:53 -07:00
parent f8a0bf6a4b
commit 36f714e414

View file

@ -8,7 +8,7 @@
@stop
@section('header_right')
@can('superuser')
@can('update', \App\Models\AssetModel::class)
<div class="btn-group pull-right">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">{{ trans('button.actions') }}
<span class="caret"></span>