mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-14 11:12:09 -05:00
11 lines
435 B
PHP
11 lines
435 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Modules\User\App\Http\Controllers\ProfileController;
|
|
|
|
Route::middleware('auth')->group(function () {
|
|
Route::redirect('/profile', '/panel/my-profile')->name('profile.edit');
|
|
Route::patch('/panel/my-profile', [ProfileController::class, 'update'])->name('profile.update');
|
|
Route::delete('/panel/my-profile', [ProfileController::class, 'destroy'])->name('profile.destroy');
|
|
});
|