Skip to content

Commit

Permalink
golint fixed for routers/repo/branch.go (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Nov 22, 2016
1 parent c25063d commit cb16028
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions routers/repo/branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,5 +28,5 @@ func Branches(ctx *context.Context) {
}

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

0 comments on commit cb16028

Please sign in to comment.