Spaces:
Sleeping
Sleeping
Download routes/settings.php from wepee/CAPS04-FE-REFACTOR: direct link, hf CLI and curl.
- Browser
- Download file 967 Bytes
-
https://huggingface.co/spaces/wepee/CAPS04-FE-REFACTOR/resolve/refs%2Fpr%2F1/routes/settings.php
- Command line
-
hf download hf://spaces/wepee/CAPS04-FE-REFACTOR@refs/pr/1/routes/settings.php
-
curl -L -o settings.php https://huggingface.co/spaces/wepee/CAPS04-FE-REFACTOR/resolve/refs%2Fpr%2F1/routes/settings.php
967 Bytes
| use App\Http\Controllers\Settings\ProfileController; | |
| use App\Http\Controllers\Settings\SecurityController; | |
| use Illuminate\Support\Facades\Route; | |
| Route::middleware(['auth'])->group(function () { | |
| Route::redirect('settings', '/settings/profile'); | |
| Route::get('settings/profile', [ProfileController::class, 'edit'])->name('profile.edit'); | |
| Route::patch('settings/profile', [ProfileController::class, 'update'])->name('profile.update'); | |
| }); | |
| Route::middleware(['auth', 'verified'])->group(function () { | |
| Route::delete('settings/profile', [ProfileController::class, 'destroy'])->name('profile.destroy'); | |
| Route::get('settings/security', [SecurityController::class, 'edit'])->name('security.edit'); | |
| Route::put('settings/password', [SecurityController::class, 'update']) | |
| ->middleware('throttle:6,1') | |
| ->name('user-password.update'); | |
| Route::inertia('settings/appearance', 'settings/appearance')->name('appearance.edit'); | |
| }); | |