Added User Settings

This commit is contained in:
2026-06-15 12:37:14 +10:00
parent a753bffaf8
commit a270913931
20 changed files with 451 additions and 102 deletions
+4
View File
@@ -14,6 +14,7 @@ use App\Http\Controllers\LogoController;
use App\Http\Controllers\NotificationController;
use App\Http\Controllers\ProfileController;
use App\Http\Controllers\SearchController;
use App\Http\Controllers\SettingsController;
use App\Http\Controllers\UserController;
use App\Models\Airline;
use App\Models\FlightClass;
@@ -63,6 +64,9 @@ Route::domain(config('app.domain'))->group(
Route::post('/u/{user}/follow', [UserController::class, 'follow'])->name('profile.follow');
Route::get('/settings', [UserController::class, 'settings'])->name('profile.settings');
Route::patch('/settings', [SettingsController::class, 'update'])->name('settings.update');
Route::get('/notifications', [NotificationController::class, 'index'])->name('notifications.get');
Route::patch('/notifications/{notification}/read', [NotificationController::class, 'markRead']);