Skip to content

Commit 2771619

Browse files
richmahntechknowlogick
authored andcommitted
Fixes #7475 - Settings pages giving UnitType error message (#7482)
1 parent f34726a commit 2771619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: routers/routes/routes.go

+1-1
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)