diff --git a/routes/client.php b/routes/client.php index 95956d4e5df4..eff978f740b0 100644 --- a/routes/client.php +++ b/routes/client.php @@ -161,6 +161,6 @@ Route::fallback(function () { })->middleware('throttle:404'); - -Route::get('client/email_preferences/{clientContact}', [EmailPreferencesController::class, 'index'])->name('client.email_preferences'); -Route::put('client/email_preferences/{clientContact}', [EmailPreferencesController::class, 'update']); +// Fix me: Move into invite_db middleware group. +Route::get('client/email_preferences/{clientContact}/{invitation_key}', [EmailPreferencesController::class, 'index'])->name('client.email_preferences'); +Route::put('client/email_preferences/{clientContact}/{invitation_key}', [EmailPreferencesController::class, 'update']);