We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371cc20 commit 91ae32cCopy full SHA for 91ae32c
routers/web/repo/view.go
@@ -722,6 +722,7 @@ func checkHomeCodeViewable(ctx *context.Context) {
722
}
723
724
725
+ // TODO: ctx.Repo.Repository.DefaultUnit has to be respected here ... but we need to let code unit have it's own subpath ...
726
var firstUnit *unit_model.Unit
727
for _, repoUnitType := range ctx.Repo.Permission.ReadableUnitTypes() {
728
if repoUnitType == unit_model.TypeCode {
0 commit comments