Skip to content

Commit

Permalink
Attachment support repository route (#15580)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Apr 23, 2021
1 parent bee8ce3 commit 1b3dbdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/routes/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ func RegisterRoutes(m *web.Route) {
}
ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount
})
m.Get("/attachments/{uuid}", repo.GetAttachment)
}, ignSignIn, context.RepoAssignment, context.UnitTypes(), reqRepoReleaseReader)

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

0 comments on commit 1b3dbdb

Please sign in to comment.