From a29e667effa93c796ff81772f4df1f45324e38be Mon Sep 17 00:00:00 2001 From: Richard Mahn Date: Tue, 16 Jul 2019 00:45:38 -0400 Subject: [PATCH] Backport for #7475 - settings error (#7483) --- routers/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 744088a9d..7bcd03029 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -665,7 +665,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)