FEATURE: add comments into articles
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::group([
|
||||
'middleware' => 'web',
|
||||
'prefix' => 'article',
|
||||
@@ -22,4 +21,16 @@ Route::group([
|
||||
|
||||
Route::get('/delete/{id}', 'EditCategory@delete')
|
||||
->name('article.delete');
|
||||
});
|
||||
|
||||
// routes for comments
|
||||
|
||||
Route::group([
|
||||
'middleware' => 'web',
|
||||
'prefix' => 'comments',
|
||||
'namespace' => 'Modules\Blog\Article\Http\Controllers'
|
||||
], function () {
|
||||
|
||||
Route::get('/', 'CommentsOverview@getOverview')
|
||||
->name('comments.overview');
|
||||
});
|
||||
Reference in New Issue
Block a user