Backport for #7475 - settings error (#7483)

pull/7489/head
Richard Mahn 5 years ago committed by Lunny Xiao
parent 92b993c91f
commit a29e667eff
  1. 2
      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)

Loading…
Cancel
Save