fix: prevent 404 when deleting an adress

This commit is contained in:
Valentin Lab
2025-10-04 11:06:43 +02:00
parent ece0b433fd
commit b7634e07c0
2 changed files with 2 additions and 2 deletions

View File

@@ -7,5 +7,5 @@ Route::prefix('Clients')->name('Customers.')->group(function () {
Route::get('edit', 'CustomerController@edit')->name('edit');
Route::post('storeProfileAjax', 'CustomerController@storeProfileAjax')->name('storeProfileAjax');
Route::post('store', 'CustomerController@store')->name('store');
Route::get('delete_address/{$id?}', 'CustomerController@delete_address')->name('delete_address');
Route::get('delete_address/{id}', 'CustomerController@delete_address')->name('delete_address');
});