From 11aaaa024c19b6d391336838e1b535a2185fe1db Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Thu, 22 Dec 2022 18:17:50 +0100 Subject: [PATCH] fix --- routes/Shop/Customers.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/Shop/Customers.php b/routes/Shop/Customers.php index 0b7529d1..d3a3d0dc 100644 --- a/routes/Shop/Customers.php +++ b/routes/Shop/Customers.php @@ -4,5 +4,7 @@ Route::prefix('Clients')->name('Customers.')->group(function () { Route::get('show/{id}', 'CustomerController@show')->name('show'); Route::get('profile/{id?}', 'CustomerController@profile')->name('profile'); Route::get('modalProfile/{id?}', 'CustomerController@modalProfile')->name('modalProfile'); - Route::post('storeProfileAjax', 'CustomerController@storeProfileAjax')->name('storeProfile'); + Route::get('edit', 'CustomerController@edit')->name('edit'); + Route::post('storeProfileAjax', 'CustomerController@storeProfileAjax')->name('storeProfileAjax'); + Route::post('storeProfile', 'CustomerController@storeProfile')->name('storeProfile'); });