summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-05-15 12:18:06 -0700
committerGitHub <noreply@github.com>2017-05-15 12:18:06 -0700
commitf176e7d98f0facbf0ccfac08eb4d7aea03c53c8b (patch)
treef11aa7e399e354d8f613d18ea10f14cc8e405773 /system/admin/server.go
parent0cf8aa550a3da63cb1509678bf5add0d73925546 (diff)
parent0ee16cc099c4fea518e9e57ff4b5166aba54ee34 (diff)
Merge pull request #142 from ponzu-cms/ponzu-dev
[core] add CSVFormattable interface to export CSV formatted 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 2180441..426dabd 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -37,6 +37,7 @@ func Run() {
http.HandleFunc("/admin/contents", user.Auth(contentsHandler))
http.HandleFunc("/admin/contents/search", user.Auth(searchHandler))
+ http.HandleFunc("/admin/contents/export", user.Auth(exportHandler))
http.HandleFunc("/admin/edit", user.Auth(editHandler))
http.HandleFunc("/admin/edit/delete", user.Auth(deleteHandler))