diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/single.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/single.go b/routers/repo/single.go index 285c5277af..1c9b35945d 100644 --- a/routers/repo/single.go +++ b/routers/repo/single.go @@ -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) } |