workaround for #51

This commit is contained in:
Brad Rydzewski
2014-02-12 12:22:56 -07:00
parent 0a8ef525e9
commit 28fda64326
3 changed files with 3 additions and 4 deletions

View File

@@ -49,7 +49,7 @@
<ul class="nav nav-pills nav-stacked nav-branches">
{{ range .Branches }}
<li{{ if eq $branch .Branch }} class="active"{{end}}>
<a href="/{{ $repo.Slug }}/tree/{{.Branch}}">
<a href="/{{ $repo.Slug }}/tree?branch={{.Branch}}">
<span class="btn btn-mini btn-{{.Status}} "></span>
<span>{{.Branch}}</span>
</a>