|
|
|
@ -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) |
|
|
|
|
} |
|
|
|
|