aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/view.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-30 04:39:53 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-30 04:39:53 -0400
commit2a031c13658458df9f8f56ce295a8ba72bf35dff (patch)
tree5af1a495b55eddef9d8fe8e21d2a0bccc835ec1d /routers/repo/view.go
parent198567eccbd6425235f5c755b5862cbe90b435c2 (diff)
downloadgitea-2a031c13658458df9f8f56ce295a8ba72bf35dff.tar.gz
gitea-2a031c13658458df9f8f56ce295a8ba72bf35dff.zip
Fix #515
Diffstat (limited to 'routers/repo/view.go')
-rw-r--r--routers/repo/view.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go
index 82f3460029..ba76a6adae 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -118,6 +118,7 @@ func Home(ctx *middleware.Context) {
ctx.Handle(404, "SubTree", err)
return
}
+
entries, err := tree.ListEntries(treename)
if err != nil {
ctx.Handle(500, "ListEntries", err)