re-adds Request::is to setting categories
This commit is contained in:
parent
877b1bd0a3
commit
ab23e04c65
1 changed files with 2 additions and 2 deletions
|
@ -592,8 +592,8 @@
|
||||||
</a>
|
</a>
|
||||||
<ul class="treeview-menu">
|
<ul class="treeview-menu">
|
||||||
@if(Gate::allows('view', App\Models\CustomField::class) || Gate::allows('view', App\Models\CustomFieldset::class))
|
@if(Gate::allows('view', App\Models\CustomField::class) || Gate::allows('view', App\Models\CustomFieldset::class))
|
||||||
<li>
|
<li {!! (Request::is('fields*') ? ' class="active"' : '') !!}>
|
||||||
<a href="{{ route('fields.index') }}" class="{!! Request::is(route('fields.index') ? ' class="active"' : '') !!}">
|
<a href="{{ route('fields.index') }}">
|
||||||
{{ trans('admin/custom_fields/general.custom_fields') }}
|
{{ trans('admin/custom_fields/general.custom_fields') }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Reference in a new issue