Files
opensem/routes/Shop/Customers.php
Ludovic CANDELLIER 7819a8e11b fix
2022-12-22 18:17:50 +01:00

11 lines
579 B
PHP

<?php
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::get('edit', 'CustomerController@edit')->name('edit');
Route::post('storeProfileAjax', 'CustomerController@storeProfileAjax')->name('storeProfileAjax');
Route::post('storeProfile', 'CustomerController@storeProfile')->name('storeProfile');
});