Browse Source

golint fixed for routers/repo/branch.go (#206)

tags/v1.21.12.1
Lunny Xiao GitHub 8 years ago
parent
commit
cb1602840c
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      routers/repo/branch.go

+ 3
- 2
routers/repo/branch.go View File

@@ -10,9 +10,10 @@ import (
)

const (
BRANCH base.TplName = "repo/branch"
tplBranch base.TplName = "repo/branch"
)

// Branches render repository branch page
func Branches(ctx *context.Context) {
ctx.Data["Title"] = "Branches"
ctx.Data["IsRepoToolbarBranches"] = true
@@ -27,5 +28,5 @@ func Branches(ctx *context.Context) {
}

ctx.Data["Branches"] = brs
ctx.HTML(200, BRANCH)
ctx.HTML(200, tplBranch)
}

Loading…
Cancel
Save