mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 07:21:36 +01:00 
			
		
		
		
	golint fixed for routers/repo/branch.go (#206)
This commit is contained in:
		
							parent
							
								
									c25063d834
								
							
						
					
					
						commit
						cb1602840c
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user