diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-02-26 10:25:54 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 10:25:54 -0600 |
commit | bcd16cec63207a627c0c3708afb2796353a907e8 (patch) | |
tree | fea52e71872828bec6094af0496bb03873435bda /routers/routes | |
parent | 084a2b00268ed561f59ac19b1b6660a3c58573b3 (diff) | |
download | gitea-bcd16cec63207a627c0c3708afb2796353a907e8.tar.gz gitea-bcd16cec63207a627c0c3708afb2796353a907e8.zip |
Fix admin notices (#10480)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index df39d9e370..9859ebc539 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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 ***** |