Commit e4f2e876 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Fix CodeReuse/Finder Rubocop rule

parent 42d02d19
......@@ -41,7 +41,7 @@ class IssuesFinder < IssuableFinder
# rubocop: enable CodeReuse/ActiveRecord
def params_class
IssuesFinder.const_get(:Params, false)
self.class.const_get(:Params, false)
end
# 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