diff --git a/cmd/web.go b/cmd/web.go index edf8ccafe..4fa93ba4d 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -586,7 +586,7 @@ func runWeb(ctx *cli.Context) error { m.Group("/:username/:reponame", func() { m.Get("/stars", repo.Stars) m.Get("/watchers", repo.Watchers) - }, ignSignIn, context.RepoAssignment(), context.RepoRef()) + }, ignSignIn, context.RepoAssignment(), context.RepoRef(), context.UnitTypes()) m.Group("/:username", func() { m.Group("/:reponame", func() {