21 lines
830 B
PHP
21 lines
830 B
PHP
|
<?php
|
||
|
|
||
|
use App\Http\Controllers\EducationalInstitutionController;
|
||
|
use App\Http\Controllers\FacultyController;
|
||
|
use App\Http\Controllers\FileController;
|
||
|
use App\Http\Controllers\ReceptionScreenController;
|
||
|
use App\Http\Controllers\UserController;
|
||
|
|
||
|
Route::middleware(['auth', 'verified'])->group(function () {
|
||
|
Route::get('/files/create/{file?}', [FileController::class, 'create'])->name('files.create');
|
||
|
Route::get('/files/download/{file}', [FileController::class, 'download'])->name('files.download');
|
||
|
|
||
|
Route::resources([
|
||
|
'/files' => FileController::class,
|
||
|
'/users' => UserController::class,
|
||
|
'/admin-reception-screen' => ReceptionScreenController::class,
|
||
|
'/educational-institutions' => EducationalInstitutionController::class,
|
||
|
'/faculties' => FacultyController::class,
|
||
|
]);
|
||
|
});
|