feature: update avatar
This commit is contained in:
@@ -55,4 +55,7 @@ Route::middleware('auth')->group(function () {
|
||||
|
||||
Route::get('/change-password', [UserController::class, 'changePasswordForm'])->name('user.change_password');
|
||||
Route::post('/change-password', [UserController::class, 'updatePassword'])->name('user.update_password');
|
||||
// Edit personal profile (avatar & password)
|
||||
Route::get('/profile/edit', [UserController::class, 'editProfile'])->name('user.edit');
|
||||
Route::post('/profile/edit', [UserController::class, 'updateProfile'])->name('user.update_profile');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user