Fixed invalid link of breadcrumbs list.

This commit is contained in:
takezoe
2013-04-28 15:00:11 +09:00
parent bf2692c9f8
commit f180364f7f

View File

@@ -6,8 +6,8 @@
@navtab(branch, repository, "files")
<div class="head">
<a href="@path/@repository.owner/@repository.name/tree/@branch">@repository.name</a> /
@pathList.zipWithIndex.map { case (path, i) =>
<a href="@path/@repository.owner/@repository.name/tree/@branch/@pathList.take(i + 1).mkString("/")">@path</a> /
@pathList.zipWithIndex.map { case (section, i) =>
<a href="@path/@repository.owner/@repository.name/tree/@branch/@pathList.take(i + 1).mkString("/")">@section</a> /
}
</div>
<table class="table table-file-list">