summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-29 14:02:15 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-29 14:02:15 -0700
commitec0c753e8386d0dabe6c65ffb9d26484fa361eb0 (patch)
treeb0d7f1cae0a24a2323a58085101ffa89474d5305 /system/admin/server.go
parente3d9f80a8bbb0dab11259b132976fd9c7a5e2a8f (diff)
initial set up for external/internal toggle view
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 c22c278..161220e 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -24,6 +24,7 @@ func Run() {
http.HandleFunc("/admin/configure/users/delete", user.Auth(configUsersDeleteHandler))
http.HandleFunc("/admin/posts", user.Auth(postsHandler))
+ http.HandleFunc("/admin/posts/approve", user.Auth(approvePostHandler))
http.HandleFunc("/admin/posts/search", user.Auth(searchHandler))
http.HandleFunc("/admin/edit", user.Auth(editHandler))