From 5376a2b784ffb9e0d25bc5f0fced3ce3e0004dbb Mon Sep 17 00:00:00 2001 From: weichien Date: Mon, 17 May 2021 17:19:30 +0800 Subject: [PATCH] feat: add update user update method route. --- routes/account.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/account.php b/routes/account.php index 5ce39d98..1525f3fd 100644 --- a/routes/account.php +++ b/routes/account.php @@ -37,5 +37,6 @@ Route::group(['prefix' => 'account', 'namespace' => 'Accounts', 'as' => 'account Route::group(['prefix' => 'user', 'as' => 'user.'], function () { Route::post('/show', 'FetchUserController@fetch')->name('show'); Route::get('/list', 'ListUsersController@list')->name('list'); + Route::put('/update/{id}', 'UpdateUserController@update')->name('update'); }); }); \ No newline at end of file