summaryrefslogtreecommitdiff
path: root/app/views/admin/projects/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/projects/show.html.haml')
-rw-r--r--app/views/admin/projects/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index e0b9e46..8204a90 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -61,13 +61,13 @@
%legend Builds stats
%p
Total:
- %strong= pluralize @project.builds.count, 'build'
+ %strong= pluralize @project.builds.count(:all), 'build'
%p
Successful:
- %strong= pluralize @project.builds.success.count, 'build'
+ %strong= pluralize @project.builds.success.count(:all), 'build'
%p
Failed:
- %strong= pluralize @project.builds.failed.count, 'build'
+ %strong= pluralize @project.builds.failed.count(:all), 'build'
%p
Success ratio: