Skip to content

Commit

Permalink
fix: menu template fixes for new adminlte 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mitulgolakiya committed Jun 23, 2022
1 parent 7e062df commit d1bb917
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/scaffold/layouts/menu_template.stub
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<li class="{{ Request::is('$ROUTE_PREFIX$$MODEL_NAME_PLURAL_CAMEL$*') ? 'active' : '' }}">
<a href="{{ route('$ROUTE_NAMED_PREFIX$$MODEL_NAME_PLURAL_CAMEL$.index') }}"><i class="fa fa-edit"></i><span>$MODEL_NAME_PLURAL_HUMAN$</span></a>
<li class="nav-item">
<a href="{{ route('$ROUTE_NAMED_PREFIX$$MODEL_NAME_PLURAL_CAMEL$.index') }}" class="nav-link {{ Request::is('$ROUTE_PREFIX$$MODEL_NAME_PLURAL_CAMEL$*') ? 'active' : '' }}">
<i class="nav-icon fas fa-home"></i>
<p>$MODEL_NAME_PLURAL_HUMAN$</p>
</a>
</li>

0 comments on commit d1bb917

Please sign in to comment.