mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Code clean up for new config options
This commit is contained in:
		@@ -510,7 +510,7 @@ func runWeb(ctx *cli.Context) error {
 | 
			
		||||
			m.Post("/branches", bindIgnErr(auth.NewBranchForm{}), repo.NewBranchPost)
 | 
			
		||||
			m.Post("/upload-file", repo.UploadFileToServer)
 | 
			
		||||
			m.Post("/upload-remove", bindIgnErr(auth.RemoveUploadFileForm{}), repo.RemoveUploadFileFromServer)
 | 
			
		||||
		}, context.RepoRef(), context.RepoAssignment(), reqRepoWriter)
 | 
			
		||||
		}, reqRepoWriter, context.RepoRef())
 | 
			
		||||
	}, reqSignIn, context.RepoAssignment(), repo.MustBeNotBare)
 | 
			
		||||
 | 
			
		||||
	m.Group("/:username/:reponame", func() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user