FEATURE: add comments into articles

This commit is contained in:
Michal Kváček
2016-09-04 23:20:07 +02:00
parent f304ef0141
commit 59dede6049
13 changed files with 83 additions and 258 deletions
@@ -93,6 +93,10 @@ class Article extends Handler
$sub->route('content.new', trans('article::article.new'), ['id' => self::getModuleId()], 10, ['icon' => 'fa fa-fw fa-pencil']);
$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']);
$menu->dropdown(trans('article::module.comments'), function ($sub) {
$sub->route('comments.overview', trans('article::module.commentsOverview'), [], 10, ['icon' => 'fa fa-fw fa-commenting-o']);
}, 10, ['icon' => 'fa fa-fw fa-comments-o']);
}
public static function getModuleId()