index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
cmd
/
web.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'cmd/web.go')
-rw-r--r--
cmd/web.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 07fceae4..da392a1e 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 *****