diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-05 18:49:34 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-05 18:49:34 +0300 |
commit | 68e9372acd2285055df70cdf84665febfb496166 (patch) | |
tree | 4308616ddd08eaec2c3a9442a895b570f4db6d1d /app/helpers/issuables_helper.rb | |
parent | df35410a9b908361843dcc9e36bcf73d4a704300 (diff) | |
parent | d0f5b3c287f98e3e4bdab8bf26f33262cce8f4c4 (diff) |
Merge branch 'master' into breadcrumbs-improvements
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r-- | app/helpers/issuables_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index ef9cdd058a9..e39d62ecf63 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -249,7 +249,8 @@ module IssuablesHelper def issuables_count_for_state(issuable_type, state) finder = public_send("#{issuable_type}_finder") # rubocop:disable GitlabSecurity/PublicSend - finder.count_by_state[state] + + Gitlab::IssuablesCountForState.new(finder)[state] end def close_issuable_url(issuable) |