Skip to content

Commit 91ae32c

Browse files
committed
todo
1 parent 371cc20 commit 91ae32c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/repo/view.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,7 @@ func checkHomeCodeViewable(ctx *context.Context) {
722722
}
723723
}
724724

725+
// TODO: ctx.Repo.Repository.DefaultUnit has to be respected here ... but we need to let code unit have it's own subpath ...
725726
var firstUnit *unit_model.Unit
726727
for _, repoUnitType := range ctx.Repo.Permission.ReadableUnitTypes() {
727728
if repoUnitType == unit_model.TypeCode {

0 commit comments

Comments
 (0)