FIX: remove comments overview from submenu

This commit is contained in:
Michal Kváček
2016-10-12 21:24:27 +02:00
parent 686edf1c6f
commit 98fc287f10
+1 -3
View File
@@ -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']);
}, 10, ['icon' => 'fa fa-fw fa-book']);
$blogSubmenu->dropdown(trans('article::module.comments'), function ($sub) {
$sub->route('comments.overview', trans('article::module.commentsOverview'), [], 10, ['icon' => 'fa fa-fw fa-commenting-o']);
}, 20, ['icon' => 'fa fa-fw fa-comments-o']);
$blogSubmenu->route('comments.overview', trans('article::module.commentsOverview'), [], 20, ['icon' => 'fa fa-fw fa-commenting-o']);
}
public static function getModuleId()