prodV1 #2

Open
RomanGolienko wants to merge 309 commits from prodV1 into main
3 changed files with 5 additions and 4 deletions
Showing only changes of commit 173a744f79 - Show all commits

View File

@ -16,18 +16,19 @@ Route::middleware(['auth', 'verified'])->prefix('admin')->group(function () {
Route::get('/documents/create/{document?}', [DocumentController::class, 'create'])->name('documents_create');
Route::get('/documents/download/{Document}', [DocumentController::class, 'download'])->name('documents_download');
Route::resource('/educational-institutions', EducationalInstitutionController::class)
Route::resource('/educational_institutions', EducationalInstitutionController::class)
->scoped(['educational_institution' => 'slug']);
Route::resource('/directions', DirectionController::class)
->scoped(['directions' => 'slug']);
Route::resource('/departments', DepartmentController::class)
->scoped(['department' => 'slug']);
Route::resource('/faculties', FacultyController::class)
->scoped(['faculty' => 'slug']);
Route::resources([
'/documents' => DocumentController::class,
'/users' => UserController::class,
'/admin-reception-screen' => ReceptionScreenController::class,
'/faculties' => FacultyController::class,
]);
});

View File

@ -1,6 +1,6 @@
<?php
use App\Http\Controllers\PageController;
use App\Http\Controllers\admin\PageController;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {

View File

@ -11,4 +11,4 @@ Route::middleware('auth')->group(function () {
require __DIR__ . '/auth.php';
require __DIR__ . '/admin.php';
require __DIR__ . '/pages/web.php';
require __DIR__ . '/pages.php';