diff options
author | Josh Frye <joshfng@gmail.com> | 2016-06-01 17:50:32 +0300 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-06-02 18:10:57 +0300 |
commit | 2605a0a844f187daeeff1f16920db445f53e2793 (patch) | |
tree | 27f47b7fbb99ae090c8694048efb4972c8509666 /app/views/projects/pipelines | |
parent | 4d9622e7d3e927ad158d26c780fee64c6d8183bc (diff) |
Refactor. Add tests.
Diffstat (limited to 'app/views/projects/pipelines')
-rw-r--r-- | app/views/projects/pipelines/_head.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/_head.html.haml b/app/views/projects/pipelines/_head.html.haml index 2c8ae625e67..6e757df5417 100644 --- a/app/views/projects/pipelines/_head.html.haml +++ b/app/views/projects/pipelines/_head.html.haml @@ -11,4 +11,4 @@ = link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds' do %span Builds - %span.badge.count.builds_counter= number_with_delimiter(@project.builds.running_or_pending.count(:all)) + %span.badge.count.builds_counter= number_with_delimiter(@project.running_or_pending_build_count) |