From 5737f4f300dfd624bdef292bd6e467ec2cbb6037 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 29 Oct 2016 20:08:17 -0700 Subject: debugging --- system/admin/admin.go | 2 +- system/admin/handlers.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/admin/admin.go b/system/admin/admin.go index 824edc8..9ee86c3 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -414,7 +414,7 @@ var err405HTML = `
405 Error: Method Not Allowed
-
Sorry, the page you requested could not be found.
+
Sorry, the method of your request is not allowed.
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 9caa231..94ce74b 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -817,6 +817,7 @@ func editHandler(res http.ResponseWriter, req *http.Request) { if status == "pending" { t = t + "_pending" } + fmt.Println(t, i, status) data, err := db.Content(t + ":" + i) if err != nil { log.Println(err) -- cgit v1.2.3