Commit ad83202f authored by Nicolas Widart's avatar Nicolas Widart

Changing the navigation for i18n

parent c7b0858e
......@@ -10,19 +10,19 @@ class SidebarViewComposer
$view->items->put('workbench', Collection::make([
[
'weight' => '1',
'request' => Request::is("{$view->prefix}/modules*") or Request::is("{$view->prefix}/workbench*"),
'request' => Request::is("*/{$view->prefix}/modules*") or Request::is("*/{$view->prefix}/workbench*"),
'route' => '#',
'icon-class' => 'fa fa-cogs',
'title' => 'Workshop',
],
[
'request' => "{$view->prefix}/modules*",
'request' => "*/{$view->prefix}/modules*",
'route' => 'dashboard.modules.index',
'icon-class' => 'fa fa-cog',
'title' => 'Modules',
],
[
'request' => "{$view->prefix}/workbench*",
'request' => "*/{$view->prefix}/workbench*",
'route' => 'dashboard.workbench.index',
'icon-class' => 'fa fa-terminal',
'title' => 'Workbench',
......
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