fix list admin in settings

This commit is contained in:
edmondlang
2023-03-10 19:18:40 +08:00
parent 61c07403ef
commit 6275304ff8
+1 -1
View File
@@ -34,7 +34,7 @@ Route::group(['prefix' => 'account', 'namespace' => 'Accounts', 'as' => 'account
});
Route::group(['prefix' => 'user', 'as' => 'user.', 'middleware' => 'valid.token'], function () {
Route::get('/{email}', 'FetchUserByEmailController@fetch')->name('company');
Route::get('email/{email}', 'FetchUserByEmailController@fetch')->name('company');
Route::post('/show', 'FetchUserController@fetch')->name('show');
Route::get('/list', 'ListUsersController@list')->name('list');
Route::put('/update/{id}', 'UpdateUserController@update')->name('update');