diff --git a/routes/admin.php b/routes/admin.php index f1759c7..6bd4df5 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -13,9 +13,12 @@ Route::middleware(['auth', 'verified'])->prefix('admin')->group(function () { return view('admin'); })->name('dashboard'); - Route::get('/documents/create/{admission}', [DocumentController::class, 'createFromAdmission'])->name('document_create_from_admission'); - Route::post('/documents/store_from_admission', [DocumentController::class, 'storeFromAdmission'])->name('document_store_from_admission'); - Route::get('/documents/download/{document}', [DocumentController::class, 'download'])->name('document_download'); + Route::get('/documents/create/{admission}', [DocumentController::class, 'createFromAdmission']) + ->name('document_create_from_admission'); + Route::post('/documents/store_from_admission', [DocumentController::class, 'storeFromAdmission']) + ->name('document_store_from_admission'); + Route::get('/documents/download/{document}', [DocumentController::class, 'download']) + ->name('document_download'); Route::resource('/educational_institutions', EducationalInstitutionController::class) ->scoped(['educational_institution' => 'slug']);