1
0
Fork 0

Fixes #7475 - Settings pages giving UnitType error message (#7482)

This commit is contained in:
Richard Mahn 2019-07-15 23:43:30 -04:00 committed by techknowlogick
parent f34726a4b9
commit 2771619acf

View file

@ -667,7 +667,7 @@ func RegisterRoutes(m *macaron.Macaron) {
}, func(ctx *context.Context) {
ctx.Data["PageIsSettings"] = true
})
}, reqSignIn, context.RepoAssignment(), reqRepoAdmin, context.UnitTypes(), context.RepoRef())
}, reqSignIn, context.RepoAssignment(), context.UnitTypes(), reqRepoAdmin, context.RepoRef())
m.Get("/:username/:reponame/action/:action", reqSignIn, context.RepoAssignment(), context.UnitTypes(), repo.Action)