git ssb

30+

cel / git-ssb-web



Commit 4dc39748d2ffa17c933c5d5262e9bdf1c50c13e2

Fix missing req

Charles Lehner committed on 4/15/2016, 10:09:55 PM
Parent: d3c7e2d7b6d9f12cc53de2d7ee56a9d2e7fe9949

Files changed

index.jschanged
index.jsView
@@ -1313,9 +1313,9 @@
13131313 type == 'Branch' && renderRepoLatest(req, repo, rev),
13141314 pull.once('</section><section>'),
13151315 renderRepoTree(req, repo, rev, path),
13161316 pull.once('</section>'),
1317- renderRepoReadme(repo, rev, path)
1317+ renderRepoReadme(req, repo, rev, path)
13181318 ]))
13191319 }
13201320
13211321 /* Search */
@@ -1576,9 +1576,9 @@
15761576 }
15771577
15781578 /* Repo readme */
15791579
1580- function renderRepoReadme(repo, branch, path) {
1580+ function renderRepoReadme(req, repo, branch, path) {
15811581 return readNext(function (cb) {
15821582 pull(
15831583 repo.readDir(branch, path),
15841584 pull.filter(function (file) {

Built with git-ssb-web