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
author
Unknwon <u@gogs.io>
2015-12-05 01:09:14 -0500
committer
Unknwon <u@gogs.io>
2015-12-05 01:09:14 -0500
commit
f41360d864bfa3fb850d669a0a8321820fc550de
(
patch
)
tree
5450285739bd0be98258474f45d62991dd1429ee
/
cmd/web.go
parent
e82ee40e9e667797099edc05ec1b774f65310464
(
diff
)
#2052 advanced select ops for system notices
Diffstat
(limited to 'cmd/web.go')
-rw-r--r--
cmd/web.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 29f6a0f8..9efc07b3 100644
--- a/
cmd/web.go
+++ b/
cmd/web.go
@@ -280,7 +280,7 @@ func runWeb(ctx *cli.Context) {
m.Group("/notices", func() {
m.Get("", admin.Notices)
- m.Get("/:id:int/delete", admin.DeleteNotice)
+ m.Post("/delete", admin.DeleteNotices)
m.Get("/empty", admin.EmptyNotices)
})
}, adminReq)