rename fields

This commit is contained in:
Unknwon 2015-11-03 22:49:06 -05:00
parent 6f0a41b8b2
commit 3a81fdf092
20 changed files with 67 additions and 46 deletions

View file

@ -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