diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-19 13:24:46 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-19 13:24:46 -0400 |
commit | 601c10309dd93c55c3c825c5a5c2384d46493589 (patch) | |
tree | bcf936efe122c14b048e57da5169e9e5e4ef7a7d /routers | |
parent | 757f360949989214a9161f17a82aedf2b647457a (diff) | |
download | gitea-601c10309dd93c55c3c825c5a5c2384d46493589.tar.gz gitea-601c10309dd93c55c3c825c5a5c2384d46493589.zip |
Bug fix
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) } |