Skip to content

Commit 1b3dbdb

Browse files
authored
Attachment support repository route (#15580)
1 parent bee8ce3 commit 1b3dbdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/routes/web.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ func RegisterRoutes(m *web.Route) {
929929
}
930930
ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount
931931
})
932+
m.Get("/attachments/{uuid}", repo.GetAttachment)
932933
}, ignSignIn, context.RepoAssignment, context.UnitTypes(), reqRepoReleaseReader)
933934

934935
m.Group("/{username}/{reponame}", func() {

0 commit comments

Comments
 (0)