Basic Laravel project
Some checks failed
linter / quality (push) Successful in 3m37s
tests / ci (push) Failing after 8m4s

This commit is contained in:
2025-08-15 17:55:11 +02:00
commit 0eaf20efa7
249 changed files with 26846 additions and 0 deletions

24
routes/settings.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
use App\Http\Controllers\Settings\PasswordController;
use App\Http\Controllers\Settings\ProfileController;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
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::delete('settings/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');
Route::get('settings/password', [PasswordController::class, 'edit'])->name('password.edit');
Route::put('settings/password', [PasswordController::class, 'update'])
->middleware('throttle:6,1')
->name('password.update');
Route::get('settings/appearance', function () {
return Inertia::render('settings/Appearance');
})->name('appearance');
});