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
+12 -1
View File
@@ -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');
});