aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/routes/routes.go2
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 *****