Commit c85f5344 authored by Nicolas Widart's avatar Nicolas Widart

Adding a check for active state on sidebar

parent 08695ef4
...@@ -6,7 +6,7 @@ class SidebarViewComposer ...@@ -6,7 +6,7 @@ class SidebarViewComposer
{ {
$view->items->put('user', [ $view->items->put('user', [
'weight' => 1, 'weight' => 1,
'request' => $view->prefix, 'request' => "{$view->prefix}/users",
'route' => 'dashboard.user.index', 'route' => 'dashboard.user.index',
'icon-class' => 'fa fa-user', 'icon-class' => 'fa fa-user',
'title' => 'Users', 'title' => 'Users',
......
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