From 601c10309dd93c55c3c825c5a5c2384d46493589 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 19 Mar 2014 13:24:46 -0400 Subject: Bug fix --- routers/repo/single.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/repo') diff --git a/routers/repo/single.go b/routers/repo/single.go index 285c5277..1c9b3594 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) } -- cgit v1.2.3