summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/admin/admin.go2
-rw-r--r--system/admin/handlers.go1
2 files changed, 2 insertions, 1 deletions
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 = `
<div class="card">
<div class="card-content">
<div class="card-title"><b>405</b> Error: Method Not Allowed</div>
- <blockquote>Sorry, the page you requested could not be found.</blockquote>
+ <blockquote>Sorry, the method of your request is not allowed.</blockquote>
</div>
</div>
</div>
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)