diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 455c0b16e72..454c2495ca6 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -470,7 +470,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 93fc8ccc2e9..8e56713ecee 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -40,7 +40,10 @@