aboutsummaryrefslogtreecommitdiff
path: root/internal/context
diff options
context:
space:
mode:
Diffstat (limited to 'internal/context')
-rw-r--r--internal/context/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/repo.go b/internal/context/repo.go
index b280a37e..7c70f0c1 100644
--- a/internal/context/repo.go
+++ b/internal/context/repo.go
@@ -280,7 +280,7 @@ func RepoAssignment(pages ...bool) macaron.Handler {
return
}
c.Data["Branches"] = branches
- c.Data["BrancheCount"] = len(branches)
+ c.Data["BranchCount"] = len(branches)
// If not branch selected, try default one.
// If default branch doesn't exists, fall back to some other branch.