From d2942cc0c339e9ce021cf603073748ab0ed437ba Mon Sep 17 00:00:00 2001 From: Clement Date: Wed, 16 Jul 2014 21:08:53 +0200 Subject: [PATCH] fix #16 --- forum.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum.nim b/forum.nim index 9a62841..315cd1d 100644 --- a/forum.nim +++ b/forum.nim @@ -798,7 +798,7 @@ post "/doedit": createTFD() readIDs() if edit(c, c.postId): - redirect(c.genThreadUrl()) + redirect(c.genThreadUrl(pageNum = $(c.getPagesInThread+1)) & "#" & $c.postId) else: body = "" handleError("doedit", "Edit", true)