applicant-site/routes/web.php

15 lines
514 B
PHP
Raw Normal View History

2024-01-10 12:57:24 +03:00
<?php
2024-01-10 14:00:03 +03:00
use App\Http\Controllers\ProfileController;
2024-01-10 12:57:24 +03:00
use Illuminate\Support\Facades\Route;
2024-01-10 14:00:03 +03:00
Route::middleware('auth')->group(function () {
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');
});
require __DIR__ . '/auth.php';
2024-02-07 16:32:42 +03:00
require __DIR__ . '/admin.php';
require __DIR__ . '/pages/web.php';