Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 85fc7e88 authored by 65160394's avatar 65160394
Browse files

Project Round 8

parent 98d82bcb
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ exports.getTourDetails = async (req, res) => {
return res.status(404).send('ไม่พบข้อมูลทัวร์ที่ต้องการ');
}
res.render('tourDetails', { tour });
res.render('tour-Details', { tour });
} catch (error) {
console.error('Error fetching tour by ID:', error);
res.status(500).send('เกิดข้อผิดพลาดในการดึงข้อมูลทัวร์');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment