1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 05:27:20 +00:00

Fix admin notices (#10480)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser
2020-02-26 10:25:54 -06:00
committed by GitHub
parent 084a2b0026
commit bcd16cec63
3 changed files with 6 additions and 3 deletions

View File

@ -487,7 +487,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("/notices", func() {
m.Get("", admin.Notices)
m.Post("/delete", admin.DeleteNotices)
m.Get("/empty", admin.EmptyNotices)
m.Post("/empty", admin.EmptyNotices)
})
}, adminReq)
// ***** END: Admin *****