summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-04 14:48:26 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-04 14:48:26 -0800
commit2e62844957ec768b86a3182059aa6d60cebb7e2c (patch)
tree510d959ae4edc87a2864a7c3342cf3aac4bc9f00
parenta197c70c6cc3058389e86e60f1a00be2362aab29 (diff)
downloadgitlab-ci-2e62844957ec768b86a3182059aa6d60cebb7e2c.tar.gz
Fix 500 on runners page
-rw-r--r--app/views/admin/runners/_runner.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/runners/_runner.html.haml b/app/views/admin/runners/_runner.html.haml
index 29c3dcd..2196a53 100644
--- a/app/views/admin/runners/_runner.html.haml
+++ b/app/views/admin/runners/_runner.html.haml
@@ -24,9 +24,9 @@
- if runner.shared?
\-
- else
- = runner.projects.count
+ = runner.projects.count(:all)
%td
- #{runner.builds.count}
+ #{runner.builds.count(:all)}
%td
- runner.tag_list.each do |tag|
%span.label.label-primary