mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
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:
commit
f519fb747f
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue