load("author")); }); // Публикации Route::get('/articles', [Controllers\ArticleController::class, 'published']); Route::get('/articles/edit', [Controllers\ArticleController::class, 'index']); Route::get('/article/add', [Controllers\ArticleController::class, 'add']); Route::get('/article/{article}', [Controllers\ArticleController::class, 'view']); Route::get('/article/{article}/delete', [Controllers\ArticleController::class, 'drop']); Route::get('/article/{article}/edit', [Controllers\ArticleController::class, 'edit']); Route::post('/article/{article}/edit', [Controllers\ArticleController::class, 'store']); Route::post('/article/add', [Controllers\ArticleController::class, 'store']);