From 950ff85cbd628d462dc565fb55716c0ea50e58f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Wed, 30 Nov 2022 17:05:37 +0100 Subject: [PATCH] single optin route triage --- routes/web-shop.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/web-shop.php b/routes/web-shop.php index f79f2c4..882251a 100644 --- a/routes/web-shop.php +++ b/routes/web-shop.php @@ -42,9 +42,6 @@ Route::prefix('commande')->name('order-tunnel.')->group(function () { )->name('generate'); }); -// * Route ajax pour Single Optin. -Route::post('/optin', [CustomerController::class, 'addOptIn'])->name('add-single-optin'); - // * AJAX Route::prefix('ajax') ->name('ajax.') @@ -60,4 +57,7 @@ Route::prefix('ajax') // * Timeslots Route::post('/get-time-slots', [OrderController::class, 'getAvailableCreneaux'])->name('get-creneaux'); + + // * Single optin + Route::post('/optin', [CustomerController::class, 'addOptIn'])->name('add-single-optin'); });