summaryrefslogtreecommitdiffstats
path: root/routers/repo/single.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-19 13:14:56 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-19 13:14:56 -0400
commit757f360949989214a9161f17a82aedf2b647457a (patch)
tree173e02a4f31ea9ebefe653d3b5e54d25d2dee585 /routers/repo/single.go
parent04b0ba6852c7cc5b5512e9005db304c9bdacc045 (diff)
downloadgitea-757f360949989214a9161f17a82aedf2b647457a.tar.gz
gitea-757f360949989214a9161f17a82aedf2b647457a.zip
Render data in commit list page
Diffstat (limited to 'routers/repo/single.go')
-rw-r--r--routers/repo/single.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/repo/single.go b/routers/repo/single.go
index 0bfc8ffb24..285c5277af 100644
--- a/routers/repo/single.go
+++ b/routers/repo/single.go
@@ -186,6 +186,8 @@ func Commits(ctx *middleware.Context, params martini.Params) {
ctx.Error(404)
return
}
+ ctx.Data["Username"] = params["username"]
+ ctx.Data["Reponame"] = params["reponame"]
ctx.Data["Commits"] = commits
ctx.HTML(200, "repo/commits", ctx.Data)
}