mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
go lint fixed for routers/admin
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user