mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	reduce code
This commit is contained in:
		| @@ -228,8 +228,8 @@ func runWeb(ctx *cli.Context) { | |||||||
|  |  | ||||||
| 			m.Group("/repos", func() { | 			m.Group("/repos", func() { | ||||||
| 				m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), v1.MigrateRepo) | 				m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), v1.MigrateRepo) | ||||||
| 				m.Combo("/:username/:reponame").Get(v1.GetRepo) | 				m.Combo("/:username/:reponame").Get(v1.GetRepo). | ||||||
| 				m.Delete("/:username/:reponame", v1.DeleteRepo) | 					Delete(v1.DeleteRepo) | ||||||
|  |  | ||||||
| 				m.Group("/:username/:reponame", func() { | 				m.Group("/:username/:reponame", func() { | ||||||
| 					m.Combo("/hooks").Get(v1.ListRepoHooks). | 					m.Combo("/hooks").Get(v1.ListRepoHooks). | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user