This commit is contained in:
Ludovic CANDELLIER
2022-12-22 18:17:50 +01:00
parent b6821d52a7
commit 7819a8e11b

View File

@@ -4,5 +4,7 @@ Route::prefix('Clients')->name('Customers.')->group(function () {
Route::get('show/{id}', 'CustomerController@show')->name('show'); Route::get('show/{id}', 'CustomerController@show')->name('show');
Route::get('profile/{id?}', 'CustomerController@profile')->name('profile'); Route::get('profile/{id?}', 'CustomerController@profile')->name('profile');
Route::get('modalProfile/{id?}', 'CustomerController@modalProfile')->name('modalProfile'); 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');
}); });