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 ***** diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index 93fc8ccc2e..8e56713ece 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -40,7 +40,10 @@