We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad331c commit ec37ea5Copy full SHA for ec37ea5
routers/web/web.go
@@ -1119,7 +1119,7 @@ func registerRoutes(m *web.Route) {
1119
m.Get(".atom", feedEnabled, repo.ReleasesFeedAtom)
1120
}, ctxDataSet("EnableFeed", setting.Other.EnableFeed),
1121
repo.MustBeNotEmpty, reqRepoReleaseReader, context.RepoRefByType(context.RepoRefTag, true))
1122
- m.Get("/releases/attachments/{uuid}", repo.GetAttachment, repo.MustBeNotEmpty, reqRepoReleaseReader)
+ m.Get("/releases/attachments/{uuid}", repo.MustBeNotEmpty, reqRepoReleaseReader, repo.GetAttachment)
1123
m.Group("/releases", func() {
1124
m.Get("/new", repo.NewRelease)
1125
m.Post("/new", web.Bind(forms.NewReleaseForm{}), repo.NewReleasePost)
0 commit comments