From c8e4b3de7894988ae16537e1ae129e3433300927 Mon Sep 17 00:00:00 2001 From: Nano Date: Sun, 3 May 2026 09:57:25 -0400 Subject: [PATCH] Fix post edit form action --- app/views/Posts/edit.asp | 2 +- core/helpers.asp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/Posts/edit.asp b/app/views/Posts/edit.asp index 480ccfe..a007b57 100644 --- a/app/views/Posts/edit.asp +++ b/app/views/Posts/edit.asp @@ -4,7 +4,7 @@

Edit Post

-
+
diff --git a/core/helpers.asp b/core/helpers.asp index fcd29a8..bea615b 100644 --- a/core/helpers.asp +++ b/core/helpers.asp @@ -267,6 +267,10 @@ Function PostEditUrl(ByVal postId) PostEditUrl = "/posts/" & Server.URLEncode(CStr(postId)) & "/edit" End Function +Function PostUpdateUrl(ByVal postId) + PostUpdateUrl = "/posts/" & Server.URLEncode(CStr(postId)) +End Function + Function PostDeleteUrl(ByVal postId) PostDeleteUrl = "/posts/" & Server.URLEncode(CStr(postId)) & "/delete" End Function