Commit e05b3aa5 authored by Nicolas Widart's avatar Nicolas Widart

Fixing the sidebar request check

parent c4e02e7c
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<ul class="sidebar-menu"> <ul class="sidebar-menu">
<?php foreach($items as $i => $item): ?> <?php foreach($items as $i => $item): ?>
<?php if (is_object($item)): ?> <?php if (is_object($item)): ?>
<li class="treeview {{ Request::is($item[0]['request']) ? 'active' : ''}}"> <li class="treeview {{ $item[0]['request'] ? 'active' : ''}}">
<a href="#"> <a href="#">
<i class="{{ $item[0]['icon-class'] }}"></i> <span>{{ $item[0]['title'] }}</span> <i class="{{ $item[0]['icon-class'] }}"></i> <span>{{ $item[0]['title'] }}</span>
<i class="fa fa-angle-left pull-right"></i> <i class="fa fa-angle-left pull-right"></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment