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
+1 -1
View File
@@ -272,7 +272,7 @@ class FlightController extends Controller
$updated = $flight->snapshot($flight->id);
$this->recordChanges($flight, $dirty, $original, $updated);
return redirect()->route('profile.departure-board', [Auth::user()->name, $flight->id]);
return redirect()->route('profile.departure-board', [$flight->user->name, $flight->id]);
}
public function delete(UserFlight $flight, ?string $referrer = 'departure-board')