diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-12 20:22:35 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-12 20:22:35 -0400 |
commit | c117f9e73f148468c624f31be237af7a691533a0 (patch) | |
tree | bf1188d2f6f2df4d58f410d9e52ca33c9dfee302 /routers/repo/repo.go | |
parent | f979d0d6b9ae2c4b5c553df13dfe49b81d8396c1 (diff) | |
download | gitea-c117f9e73f148468c624f31be237af7a691533a0.tar.gz gitea-c117f9e73f148468c624f31be237af7a691533a0.zip |
Fix #166
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 19c9dddc6e..7769d22774 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -254,6 +254,7 @@ func Single(ctx *middleware.Context, params martini.Params) { ctx.Data["LastCommit"] = ctx.Repo.Commit ctx.Data["Paths"] = Paths + ctx.Data["TreeName"] = treename ctx.Data["Treenames"] = treenames ctx.Data["TreePath"] = treePath ctx.Data["BranchLink"] = branchLink |