Commit 347f2cd1 authored by Nicolas Widart's avatar Nicolas Widart

Renaming permission

parent eb0a5b29
...@@ -13,7 +13,7 @@ class SidebarViewComposer extends BaseSidebarViewComposer ...@@ -13,7 +13,7 @@ class SidebarViewComposer extends BaseSidebarViewComposer
'route' => 'dashboard.menu.index', 'route' => 'dashboard.menu.index',
'icon-class' => 'fa fa-bars', 'icon-class' => 'fa fa-bars',
'title' => 'Menus', 'title' => 'Menus',
'permission' => $this->auth->hasAccess('menu.index') 'permission' => $this->auth->hasAccess('menus.index')
]); ]);
} }
} }
<?php <?php
return [ return [
'menu' => [ 'menus' => [
'index', 'index',
'create', 'create',
'store', 'store',
......
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