diff options
Diffstat (limited to 'routers/admin/notice.go')
-rw-r--r-- | routers/admin/notice.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/admin/notice.go b/routers/admin/notice.go index 2ee1b59730..e2ebd0d917 100644 --- a/routers/admin/notice.go +++ b/routers/admin/notice.go @@ -6,6 +6,7 @@ package admin import ( + "net/http" "strconv" "code.gitea.io/gitea/models" @@ -42,7 +43,7 @@ func Notices(ctx *context.Context) { ctx.Data["Page"] = context.NewPagination(int(total), setting.UI.Admin.NoticePagingNum, page, 5) - ctx.HTML(200, tplNotices) + ctx.HTML(http.StatusOK, tplNotices) } // DeleteNotices delete the specific notices |