summaryrefslogtreecommitdiff
path: root/app/views/projects/branches/destroy.js.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/branches/destroy.js.haml')
-rw-r--r--app/views/projects/branches/destroy.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/destroy.js.haml b/app/views/projects/branches/destroy.js.haml
index 882a4d0c5e2..a21ddaf4930 100644
--- a/app/views/projects/branches/destroy.js.haml
+++ b/app/views/projects/branches/destroy.js.haml
@@ -1 +1 @@
-$('.js-totalbranch-count').html("#{@repository.branches.size}")
+$('.js-totalbranch-count').html("#{@repository.branch_count}")