FEATURE: add comments management

This commit is contained in:
Michal Kváček
2016-09-05 16:05:14 +02:00
parent 9ce9f62a45
commit 8f66a96ec0
12 changed files with 137 additions and 6 deletions
+8 -2
View File
@@ -2,13 +2,19 @@
// routes for comments
Route::group([
'middleware' => ['web', 'auth'],
'prefix' => 'comments',
'middleware' => ['web', 'auth', 'adminMenu'],
'prefix' => 'admin/comments',
'namespace' => 'Modules\Blog\Article\Http\Controllers\Admin'
], function () {
Route::get('/', 'CommentsOverview@getOverview')
->name('comments.overview');
Route::get('/delete/{id}', 'EditComment@delete')
->name('comments.delete');
Route::get('/approve/{id}', 'EditComment@approve')
->name('comments.approve');
});
Route::group([