From f9d05bf4768e0138d035c03bbdb376a89d1c03e2 Mon Sep 17 00:00:00 2001
From: Atiwit Pattanapukdee <65160394@go.buu.ac.th>
Date: Thu, 20 Mar 2025 20:48:58 +0700
Subject: [PATCH] Project Round 8

---
 controllers/tourController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controllers/tourController.js b/controllers/tourController.js
index e077cca..05c42a9 100644
--- a/controllers/tourController.js
+++ b/controllers/tourController.js
@@ -21,7 +21,7 @@ exports.getTourDetails = async (req, res) => {
       return res.status(404).send('ไม่พบข้อมูลทัวร์ที่ต้องการ');
     }
 
-    res.render('tour-Details', { tour });
+    res.render('tour-details', { tour });
   } catch (error) {
     console.error('Error fetching tour by ID:', error);
     res.status(500).send('เกิดข้อผิดพลาดในการดึงข้อมูลทัวร์');
-- 
GitLab