Skip to content

Commit

Permalink
Backport for #7475 - settings error (#7483)
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn authored and lunny committed Jul 16, 2019
1 parent 92b993c commit a29e667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a29e667

Please sign in to comment.