Commit 28d3150d authored by Nicolas Widart's avatar Nicolas Widart

Adding correct route name

parent 9ece58f6
...@@ -10,7 +10,7 @@ class SidebarViewComposer extends BaseSidebarViewComposer ...@@ -10,7 +10,7 @@ class SidebarViewComposer extends BaseSidebarViewComposer
$view->items->put('medias', [ $view->items->put('medias', [
'weight' => 6, 'weight' => 6,
'request' => "*/$view->prefix/media", 'request' => "*/$view->prefix/media",
'route' => 'dashboard.index', 'route' => 'dashboard.media.index',
'icon-class' => 'fa fa-camera', 'icon-class' => 'fa fa-camera',
'title' => 'Medias', 'title' => 'Medias',
'permission' => $this->auth->hasAccess('dashboard.index') 'permission' => $this->auth->hasAccess('dashboard.index')
......
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
], ],
"active": 1, "active": 1,
"providers": [ "providers": [
"Modules\\Setting\\Providers\\RouteServiceProvider" "Modules\\Media\\Providers\\RouteServiceProvider"
] ]
} }
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