mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Attachment support repository route (#15580)
This commit is contained in:
		@@ -929,6 +929,7 @@ func RegisterRoutes(m *web.Route) {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount
 | 
								ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
 | 
							m.Get("/attachments/{uuid}", repo.GetAttachment)
 | 
				
			||||||
	}, ignSignIn, context.RepoAssignment, context.UnitTypes(), reqRepoReleaseReader)
 | 
						}, ignSignIn, context.RepoAssignment, context.UnitTypes(), reqRepoReleaseReader)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	m.Group("/{username}/{reponame}", func() {
 | 
						m.Group("/{username}/{reponame}", func() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user