summaryrefslogtreecommitdiff
path: root/app/helpers/issuables_helper.rb
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-11-07 14:34:12 +0100
committerJarka Kadlecova <jarka@gitlab.com>2017-11-07 14:34:12 +0100
commitad6e650262c1c152fe5e7d7a09607286b8f9f750 (patch)
tree192ea48a0061418c6802629231dfbbc02098af52 /app/helpers/issuables_helper.rb
parentdc1e6b436268c00bd1fdf3d15597a4656e029b95 (diff)
downloadgitlab-ce-ad6e650262c1c152fe5e7d7a09607286b8f9f750.tar.gz
Refactor issuables index actions
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r--app/helpers/issuables_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index 85407e38532..a9840d19178 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -249,8 +249,6 @@ module IssuablesHelper
end
def issuables_count_for_state(issuable_type, state)
- finder = public_send("#{issuable_type}_finder") # rubocop:disable GitlabSecurity/PublicSend
-
Gitlab::IssuablesCountForState.new(finder)[state]
end