Commit 975df9c4 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix_no_method_error_for_issuable_finder' into 'master'

Access IssuesFinder::Params explicitly to get correct constant

See merge request gitlab-org/gitlab!41835
parents 45805f78 e4f2e876
...@@ -41,7 +41,7 @@ class IssuesFinder < IssuableFinder ...@@ -41,7 +41,7 @@ class IssuesFinder < IssuableFinder
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
def params_class def params_class
IssuesFinder::Params self.class.const_get(:Params, false)
end end
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment