Merge pull request #11248 from snipe/fixes/corrected_gate_on_assetmodels

Updated Asset Model gate to correctly display the button on view
This commit is contained in:
snipe 2022-06-03 12:53:52 -07:00 committed by GitHub
commit f519fb747f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>