Commit bde08c76 authored by Nicolas Widart's avatar Nicolas Widart

Adding active state in edit view

parent 337cb5b4
...@@ -9,7 +9,7 @@ class SidebarViewComposer extends BaseSidebarViewComposer ...@@ -9,7 +9,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.media.index', 'route' => 'dashboard.media.index',
'icon-class' => 'fa fa-camera', 'icon-class' => 'fa fa-camera',
'title' => 'Medias', 'title' => 'Medias',
......
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