mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
re-adds Request::is to setting categories
This commit is contained in:
parent
877b1bd0a3
commit
ab23e04c65
|
@ -592,8 +592,8 @@
|
|||
</a>
|
||||
<ul class="treeview-menu">
|
||||
@if(Gate::allows('view', App\Models\CustomField::class) || Gate::allows('view', App\Models\CustomFieldset::class))
|
||||
<li>
|
||||
<a href="{{ route('fields.index') }}" class="{!! Request::is(route('fields.index') ? ' class="active"' : '') !!}">
|
||||
<li {!! (Request::is('fields*') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('fields.index') }}">
|
||||
{{ trans('admin/custom_fields/general.custom_fields') }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue