Skip to content

Commit 009ab8c

Browse files
richmahnjeffliu27
authored andcommitted
Fixes go-gitea#7475 - Settings pages giving UnitType error message (go-gitea#7482)
1 parent 3ba6e2a commit 009ab8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ func RegisterRoutes(m *macaron.Macaron) {
667667
}, func(ctx *context.Context) {
668668
ctx.Data["PageIsSettings"] = true
669669
})
670-
}, reqSignIn, context.RepoAssignment(), reqRepoAdmin, context.UnitTypes(), context.RepoRef())
670+
}, reqSignIn, context.RepoAssignment(), context.UnitTypes(), reqRepoAdmin, context.RepoRef())
671671

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

0 commit comments

Comments
 (0)