From 3bb71184df6fa3d08da6992a282fbdddde59ce45 Mon Sep 17 00:00:00 2001
From: Atiwit Pattanapukdee <65160394@go.buu.ac.th>
Date: Wed, 26 Mar 2025 19:13:53 +0700
Subject: [PATCH] Project Round 11

---
 views/index.ejs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/index.ejs b/views/index.ejs
index fdd0e84..4bcc782 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -36,7 +36,7 @@
           
           <% if (session && session.userId) { %>  
             <a href="/edit/<%= tour.id %>" class="btn-edit">Edit</a> <!-- เธ›เธธเนˆเธกเธชเธณเธซเธฃเธฑเธšเนเธเน‰เน„เธ‚เธ—เธฑเธงเธฃเนŒ -->
-            <form action="/tour/delete/<%= tour.id %>" method="POST" onsubmit="return confirmDelete()">
+            <form action="/delete/<%= tour.id %>" method="POST" onsubmit="return confirmDelete()">
               <button type="submit" class="btn-delete">Delete</button> <!-- เธ›เธธเนˆเธกเธชเธณเธซเธฃเธฑเธšเธฅเธšเธ—เธฑเธงเธฃเนŒ -->
             </form>
           <% } %>
-- 
GitLab