mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixed #5279 - [regression] edit button not appearing in asset view
This commit is contained in:
parent
7d1200c434
commit
116cad88a0
|
@ -25,7 +25,7 @@
|
|||
@endcan
|
||||
@endif
|
||||
@endif
|
||||
@can('edit', \App\Models\Asset::class)
|
||||
@can('update', \App\Models\Asset::class)
|
||||
<li role="presentation"><a href="{{ route('hardware.edit', $asset->id) }}">{{ trans('admin/hardware/general.edit') }}</a></li>
|
||||
@endcan
|
||||
@can('create', \App\Models\Asset::class)
|
||||
|
|
Loading…
Reference in a new issue