diff --git a/views/index.ejs b/views/index.ejs index fdd0e8400ec941a326654edf15a20572e9b7094b..4bcc782a1df117b184351700452f1ef5a2758db1 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> <% } %>