mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Finsih add/remove repo in organization
This commit is contained in:
		@@ -141,7 +141,7 @@ func runWeb(*cli.Context) {
 | 
			
		||||
			r.Get("/users/search", v1.SearchUsers)
 | 
			
		||||
 | 
			
		||||
			// Repositories.
 | 
			
		||||
			r.Get("/orgs/:org/repos/search", v1.SearchOrgRepositoreis)
 | 
			
		||||
			r.Get("/repos/search", v1.SearchRepos)
 | 
			
		||||
 | 
			
		||||
			r.Any("/*", func(ctx *middleware.Context) {
 | 
			
		||||
				ctx.JSON(404, &base.ApiJsonErr{"Not Found", v1.DOC_URL})
 | 
			
		||||
@@ -236,7 +236,9 @@ func runWeb(*cli.Context) {
 | 
			
		||||
 | 
			
		||||
			r.Get("/teams", org.Teams)
 | 
			
		||||
			r.Get("/teams/:team", org.TeamMembers)
 | 
			
		||||
			r.Get("/teams/:team/repositories", org.TeamRepositories)
 | 
			
		||||
			r.Get("/teams/:team/action/:action", org.TeamsAction)
 | 
			
		||||
			r.Get("/teams/:team/action/repo/:action", org.TeamsRepoAction)
 | 
			
		||||
		}, middleware.OrgAssignment(true, true))
 | 
			
		||||
 | 
			
		||||
		m.Group("/:org", func(r *macaron.Router) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user