summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-01 23:33:08 -0500
committerUnknwon <u@gogs.io>2015-12-01 23:33:08 -0500
commit0be8b1b1a1bc828d0c64f5dbf6e642232590de46 (patch)
treeed24a34e71212cf190dfac764cee0b88ad12f35a /cmd/web.go
parent834d38a8fbb4fc87b8f3914d5e2aab07a4d7e809 (diff)
downloadgitea-0be8b1b1a1bc828d0c64f5dbf6e642232590de46.tar.gz
gitea-0be8b1b1a1bc828d0c64f5dbf6e642232590de46.zip
#2052 Ability to batch delete system notices
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 07fceae404..da392a1e98 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -338,6 +338,7 @@ func runWeb(ctx *cli.Context) {
m.Group("/notices", func() {
m.Get("", admin.Notices)
m.Get("/:id:int/delete", admin.DeleteNotice)
+ m.Get("/empty", admin.EmptyNotices)
})
}, adminReq)
// ***** END: Admin *****