mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 18:05:19 +02:00
Bug fix
This commit is contained in:
parent
757f360949
commit
601c10309d
4 changed files with 5 additions and 2 deletions
|
@ -188,6 +188,7 @@ func Commits(ctx *middleware.Context, params martini.Params) {
|
|||
}
|
||||
ctx.Data["Username"] = params["username"]
|
||||
ctx.Data["Reponame"] = params["reponame"]
|
||||
ctx.Data["CommitCount"] = commits.Len()
|
||||
ctx.Data["Commits"] = commits
|
||||
ctx.HTML(200, "repo/commits", ctx.Data)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue