diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-29 20:08:17 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-29 20:08:17 -0700 |
commit | 5737f4f300dfd624bdef292bd6e467ec2cbb6037 (patch) | |
tree | 812148542406eb0ee81347cd987b50f2fa7f2755 | |
parent | 894968232241a50df69817ebea2c0576ce8f65db (diff) |
debugging
-rw-r--r-- | system/admin/admin.go | 2 | ||||
-rw-r--r-- | system/admin/handlers.go | 1 |
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) |