(refs #120) URL encode tag name

URL encode tag name URL like branch name.
And rename encodeBranchName to encodeRefName.
This commit is contained in:
Tomofumi Tanaka
2013-10-09 09:59:30 +09:00
parent 72b25591a5
commit f74f2c47d3
9 changed files with 25 additions and 25 deletions

View File

@@ -26,7 +26,7 @@
<span class="muted">
<img src="@assets/common/images/branch.png"/>
@branches.zipWithIndex.map { case (branch, i) =>
<a href="@url(repository)/tree/@encodeBranchName(branch)" class="branch" id="branch-@i">@branch</a>
<a href="@url(repository)/tree/@encodeRefName(branch)" class="branch" id="branch-@i">@branch</a>
}
</span>
}