prodV1 #2

Open
RomanGolienko wants to merge 309 commits from prodV1 into main
1 changed files with 6 additions and 3 deletions
Showing only changes of commit 83a398c5bc - Show all commits

View File

@ -13,9 +13,12 @@ Route::middleware(['auth', 'verified'])->prefix('admin')->group(function () {
return view('admin'); return view('admin');
})->name('dashboard'); })->name('dashboard');
Route::get('/documents/create/{admission}', [DocumentController::class, 'createFromAdmission'])->name('document_create_from_admission'); Route::get('/documents/create/{admission}', [DocumentController::class, 'createFromAdmission'])
Route::post('/documents/store_from_admission', [DocumentController::class, 'storeFromAdmission'])->name('document_store_from_admission'); ->name('document_create_from_admission');
Route::get('/documents/download/{document}', [DocumentController::class, 'download'])->name('document_download'); 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) Route::resource('/educational_institutions', EducationalInstitutionController::class)
->scoped(['educational_institution' => 'slug']); ->scoped(['educational_institution' => 'slug']);