Fixes incorrect gate for “new” button for status labels on asset create/edit form

This commit is contained in:
snipe 2018-04-26 16:35:08 -07:00
parent 6df7f6d6ec
commit d6d498bc8f

View file

@ -7,7 +7,7 @@
</div>
<div class="col-md-2 col-sm-2 text-left">
@can('index', \App\Models\Statuslabel::class)
@can('create', \App\Models\Statuslabel::class)
<a href='{{ route('modal.statuslabel') }}' data-toggle="modal" data-target="#createModal" data-select='status_select_id' class="btn btn-sm btn-default">New</a>
@endcan