mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
rename fields
This commit is contained in:
@@ -151,7 +151,7 @@ func Home(ctx *middleware.Context) {
|
||||
ctx.Handle(500, "GetCommitOfRelPath", err)
|
||||
return
|
||||
}
|
||||
files = append(files, []interface{}{te, git.NewSubModuleFile(c, smUrl, te.Id.String())})
|
||||
files = append(files, []interface{}{te, git.NewSubModuleFile(c, smUrl, te.ID.String())})
|
||||
}
|
||||
}
|
||||
ctx.Data["Files"] = files
|
||||
|
Reference in New Issue
Block a user