From bcd16cec63207a627c0c3708afb2796353a907e8 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Wed, 26 Feb 2020 10:25:54 -0600 Subject: Fix admin notices (#10480) Signed-off-by: jolheiser --- routers/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') 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 ***** -- cgit v1.2.3