diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-21 11:21:24 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-21 11:29:25 +0800 |
commit | 659bc2814c4b6f23c6039e0c7dc962a40968cdb1 (patch) | |
tree | 80cae2c04590ac77558e96d0b45d2671f537dc50 /routers/admin/orgs.go | |
parent | bd13c816845356e96be507b69b8c733cc788b2d2 (diff) | |
download | gitea-659bc2814c4b6f23c6039e0c7dc962a40968cdb1.tar.gz gitea-659bc2814c4b6f23c6039e0c7dc962a40968cdb1.zip |
go lint fixed for routers/admin
Diffstat (limited to 'routers/admin/orgs.go')
-rw-r--r-- | routers/admin/orgs.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/routers/admin/orgs.go b/routers/admin/orgs.go index 8e71bd72d3..88d88d1c05 100644 --- a/routers/admin/orgs.go +++ b/routers/admin/orgs.go @@ -13,9 +13,10 @@ import ( ) const ( - ORGS base.TplName = "admin/org/list" + tplOrgs base.TplName = "admin/org/list" ) +// Organizations show all the organizations func Organizations(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("admin.organizations") ctx.Data["PageIsAdmin"] = true @@ -27,6 +28,6 @@ func Organizations(ctx *context.Context) { Ranger: models.Organizations, PageSize: setting.UI.Admin.OrgPagingNum, OrderBy: "id ASC", - TplName: ORGS, + TplName: tplOrgs, }) } |