Skip to content

Commit

Permalink
golint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 25, 2016
1 parent 483ee56 commit df7e5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routers/repo/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,9 @@ func ViewIssue(ctx *context.Context) {
pull := issue.PullRequest
ctx.Data["IsPullBranchDeletable"] = ctx.Repo.IsWriter() && ctx.Repo.GitRepo.IsBranchExist(pull.HeadBranch)

deleteBranchUrl := ctx.Repo.RepoLink + "/branches/" + pull.HeadBranch + "/delete"
deleteBranchURL := ctx.Repo.RepoLink + "/branches/" + pull.HeadBranch + "/delete"
queryParams := "?redirect_to=" + ctx.Data["Link"].(string)
ctx.Data["DeleteBranchLink"] = deleteBranchUrl + queryParams
ctx.Data["DeleteBranchLink"] = deleteBranchURL + queryParams
}

ctx.Data["Participants"] = participants
Expand Down

0 comments on commit df7e5b7

Please sign in to comment.