diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 201eb48f0e..9f2ec8b824 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -243,6 +243,11 @@ func runWeb(*cli.Context) { r.Post("/:authid", bindIgnErr(auth.AuthenticationForm{}), admin.EditAuthSourcePost) r.Post("/:authid/delete", admin.DeleteAuthSource) }) + + m.Group("/notices", func(r *macaron.Router) { + r.Get("", admin.Notices) + r.Get("/:id:int/delete", admin.DeleteNotice) + }) }, adminReq) m.Get("/:username", ignSignIn, user.Profile) |