diff options
Diffstat (limited to 'system/admin/server.go')
-rw-r--r-- | system/admin/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/admin/server.go b/system/admin/server.go index 6f4a96e..b3b128d 100644 --- a/system/admin/server.go +++ b/system/admin/server.go @@ -25,6 +25,7 @@ func Run() { http.HandleFunc("/admin/posts/search", user.Auth(searchHandler)) http.HandleFunc("/admin/edit", user.Auth(editHandler)) + http.HandleFunc("/admin/edit/delete", user.Auth(deleteHandler)) http.HandleFunc("/admin/edit/upload", user.Auth(editUploadHandler)) pwd, err := os.Getwd() |