mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01:00 
			
		
		
		
	#2251 show commits count in PR tabs
This commit is contained in:
		
							parent
							
								
									2d3ecbe5b2
								
							
						
					
					
						commit
						f00fef0cd0
					
				| @ -492,8 +492,8 @@ func runWeb(ctx *cli.Context) { | ||||
| 		m.Get("/archive/*", repo.Download) | ||||
| 
 | ||||
| 		m.Group("/pulls/:index", func() { | ||||
| 			m.Get("/commits", repo.ViewPullCommits) | ||||
| 			m.Get("/files", repo.ViewPullFiles) | ||||
| 			m.Get("/commits", middleware.RepoRef(), repo.ViewPullCommits) | ||||
| 			m.Get("/files", middleware.RepoRef(), repo.ViewPullFiles) | ||||
| 			m.Post("/merge", reqRepoAdmin, repo.MergePullRequest) | ||||
| 		}, repo.MustEnablePulls) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user