FIX: remove comments overview from submenu
This commit is contained in:
@@ -113,9 +113,7 @@ class Article extends Handler implements ContentTitles
|
|||||||
$sub->route('content.overview', trans('article::article.overview'), ['id' => self::getModuleId()], 30, ['icon' => 'fa fa-fw fa-book']);
|
$sub->route('content.overview', trans('article::article.overview'), ['id' => self::getModuleId()], 30, ['icon' => 'fa fa-fw fa-book']);
|
||||||
}, 10, ['icon' => 'fa fa-fw fa-book']);
|
}, 10, ['icon' => 'fa fa-fw fa-book']);
|
||||||
|
|
||||||
$blogSubmenu->dropdown(trans('article::module.comments'), function ($sub) {
|
$blogSubmenu->route('comments.overview', trans('article::module.commentsOverview'), [], 20, ['icon' => 'fa fa-fw fa-commenting-o']);
|
||||||
$sub->route('comments.overview', trans('article::module.commentsOverview'), [], 10, ['icon' => 'fa fa-fw fa-commenting-o']);
|
|
||||||
}, 20, ['icon' => 'fa fa-fw fa-comments-o']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getModuleId()
|
public static function getModuleId()
|
||||||
|
|||||||
Reference in New Issue
Block a user