Commit 98b4c6ad authored by Nicolas Widart's avatar Nicolas Widart

Merge commit 'abac7927'

* commit 'abac7927':
  Squashed 'Modules/Dashboard/' changes from 464aa5e..4ff3fb2
parents eb8ee992 abac7927
<?php namespace Modules\Dashboard\Composers;
use Illuminate\View\View;
use Illuminate\Contracts\View\View;
use Modules\Core\Composers\BaseSidebarViewComposer;
class SidebarViewComposer
class SidebarViewComposer extends BaseSidebarViewComposer
{
public function compose(View $view)
{
......@@ -12,6 +13,7 @@ class SidebarViewComposer
'route' => 'dashboard.index',
'icon-class' => 'fa fa-dashboard',
'title' => 'Dashboard',
'permission' => $this->auth->hasAccess('dashboard.index')
]);
}
}
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