summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2016-10-13 13:02:27 -0700
committerGitHub <noreply@github.com>2016-10-13 13:02:27 -0700
commit9c8ed5c6a88901bf139bf9bb7b884b222c6053ce (patch)
treea4aef6a41f4777ae037656820edefb80da62c03a /system/admin/server.go
parent7556e81dcf93c9f93c65aae46ceb871dd6f99812 (diff)
parent468d9fb3355bd7771af3592becb201b6e9b1e68b (diff)
Merge pull request #1 from bosssauce/ponzu-dev
[fundamental-feature] Delete Content
Diffstat (limited to 'system/admin/server.go')
-rw-r--r--system/admin/server.go1
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()