Commit 9dc1f336 authored by Nicolas Widart's avatar Nicolas Widart

Modifying the prefix

parent b4f5ff40
...@@ -6,7 +6,7 @@ class SidebarViewComposer ...@@ -6,7 +6,7 @@ class SidebarViewComposer
{ {
$view->items->put('dashboard', [ $view->items->put('dashboard', [
'weight' => 0, 'weight' => 0,
'request' => $view->prefix, 'request' => "*/$view->prefix",
'route' => 'dashboard.index', 'route' => 'dashboard.index',
'icon-class' => 'fa fa-dashboard', 'icon-class' => 'fa fa-dashboard',
'title' => 'Dashboard', 'title' => 'Dashboard',
......
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