Skip to content

Commit

Permalink
Fixes go-gitea#7475 - Settings pages giving UnitType error message (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn authored and jeffliu27 committed Jul 18, 2019
1 parent 3ba6e2a commit 009ab8c
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 @@ -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)

Expand Down

0 comments on commit 009ab8c

Please sign in to comment.