Fixed #5279 - [regression] edit button not appearing in asset view

This commit is contained in:
snipe 2018-03-29 11:28:37 -07:00
parent 7d1200c434
commit 116cad88a0

View file

@ -25,7 +25,7 @@
@endcan @endcan
@endif @endif
@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> <li role="presentation"><a href="{{ route('hardware.edit', $asset->id) }}">{{ trans('admin/hardware/general.edit') }}</a></li>
@endcan @endcan
@can('create', \App\Models\Asset::class) @can('create', \App\Models\Asset::class)