Skip to content

Commit a29e667

Browse files
richmahnlunny
authored andcommitted
Backport for #7475 - settings error (#7483)
1 parent 92b993c commit a29e667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/routes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ func RegisterRoutes(m *macaron.Macaron) {
665665
}, func(ctx *context.Context) {
666666
ctx.Data["PageIsSettings"] = true
667667
})
668-
}, reqSignIn, context.RepoAssignment(), reqRepoAdmin, context.UnitTypes(), context.RepoRef())
668+
}, reqSignIn, context.RepoAssignment(), context.UnitTypes(), reqRepoAdmin, context.RepoRef())
669669

670670
m.Get("/:username/:reponame/action/:action", reqSignIn, context.RepoAssignment(), context.UnitTypes(), repo.Action)
671671

0 commit comments

Comments
 (0)