|
@@ -54,3 +54,8 @@ Route::get('/article/{article}/edit', [Controllers\ArticleController::class, 'ed
|
|
|
Route::post('/article/{article}/edit', [Controllers\ArticleController::class, 'store']);
|
|
|
Route::post('/article/{article}/comment', [Controllers\ArticleController::class, 'comment']);
|
|
|
Route::post('/article/add', [Controllers\ArticleController::class, 'store']);
|
|
|
+
|
|
|
+// Модерация комментариев
|
|
|
+Route::get('/comments/moderation', [Controllers\CommentController::class, 'moderation']);
|
|
|
+Route::get('/comment/{comment}/allow', [Controllers\CommentController::class, 'allow']);
|
|
|
+Route::get('/comment/{comment}/reject', [Controllers\CommentController::class, 'reject']);
|