summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 0dfeaa4..d492335 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -540,7 +540,7 @@ func deleteHandler(res http.ResponseWriter, req *http.Request) {
}
redir := strings.TrimSuffix(req.URL.Scheme+req.URL.Host+req.URL.Path, "/edit/delete")
- redir = redir + "posts?type=" + t
+ redir = redir + "/posts?type=" + t
http.Redirect(res, req, redir, http.StatusFound)
}