1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-06 10:25:22 +02:00

Render data in commit list page

This commit is contained in:
Unknown 2014-03-19 13:14:56 -04:00
parent 04b0ba6852
commit 757f360949
4 changed files with 23 additions and 31 deletions

View file

@ -186,6 +186,8 @@ func Commits(ctx *middleware.Context, params martini.Params) {
ctx.Error(404)
return
}
ctx.Data["Username"] = params["username"]
ctx.Data["Reponame"] = params["reponame"]
ctx.Data["Commits"] = commits
ctx.HTML(200, "repo/commits", ctx.Data)
}