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)