diff --git a/routers/routes/routes.go b/routers/routes/routes.go index df39d9e37..9859ebc53 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 93fc8ccc2..8e56713ec 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -40,7 +40,10 @@