summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-13 12:57:40 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-13 12:57:40 -0700
commit468d9fb3355bd7771af3592becb201b6e9b1e68b (patch)
treea4aef6a41f4777ae037656820edefb80da62c03a
parentfd8aa373e6f408a30897e414cf98289b1e247d42 (diff)
fixing url
-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)
}