summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2016-12-06 15:24:36 -0800
committerGitHub <noreply@github.com>2016-12-06 15:24:36 -0800
commitf39c1519ab382a343c05163f00f38c83bff3583d (patch)
tree254f75834f2cb787179f7880b0063e667d8ad234 /system/admin/server.go
parent5527117e706114c1188afaa10188d96170874047 (diff)
parent64050ef8065bccdef0aab1748040995c637fe9ed (diff)
Merge pull request #19 from bosssauce/ponzu-dev
[core] Added account recovery process and content pagination in admin UI
Diffstat (limited to 'system/admin/server.go')
-rw-r--r--system/admin/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/admin/server.go b/system/admin/server.go
index 75b48f6..f80a750 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -27,12 +27,12 @@ func Run() {
http.HandleFunc("/admin/configure/users/edit", user.Auth(configUsersEditHandler))
http.HandleFunc("/admin/configure/users/delete", user.Auth(configUsersDeleteHandler))
- http.HandleFunc("/admin/posts", user.Auth(postsHandler))
- http.HandleFunc("/admin/posts/search", user.Auth(searchHandler))
+ http.HandleFunc("/admin/contents", user.Auth(contentsHandler))
+ http.HandleFunc("/admin/contents/search", user.Auth(searchHandler))
http.HandleFunc("/admin/edit", user.Auth(editHandler))
http.HandleFunc("/admin/edit/delete", user.Auth(deleteHandler))
- http.HandleFunc("/admin/edit/approve", user.Auth(approvePostHandler))
+ http.HandleFunc("/admin/edit/approve", user.Auth(approveContentHandler))
http.HandleFunc("/admin/edit/upload", user.Auth(editUploadHandler))
pwd, err := os.Getwd()