diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/routes/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/routes/web.go b/routers/routes/web.go index a8d64b4c44..cedab78434 100644 --- a/routers/routes/web.go +++ b/routers/routes/web.go @@ -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() { |