diff --git a/routes/tourRoutes.js b/routes/tourRoutes.js index df75860acd4c25dbede3363c78e699706588abeb..1c39b6841701c837fc1c8df0eee03d1cdeb04f4b 100644 --- a/routes/tourRoutes.js +++ b/routes/tourRoutes.js @@ -29,6 +29,7 @@ router.get('/search', tourController.searchTours); //หน้าค้นหา //Profile router.get('/profile', tourController.getProfilePage);//หน้าโปรไฟล์ +router.get('/edit-profile', tourController.getEditProfilePage);// อัปเดตข้อมูลโปรไฟล์ router.post('/edit-profile', tourController.updateProfile);// อัปเดตข้อมูลโปรไฟล์ module.exports = router;