Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/integrations/youtrack.rb')
-rw-r--r--app/models/integrations/youtrack.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/integrations/youtrack.rb b/app/models/integrations/youtrack.rb
index 932e588a829..4d825adb961 100644
--- a/app/models/integrations/youtrack.rb
+++ b/app/models/integrations/youtrack.rb
@@ -31,8 +31,8 @@ module Integrations
'youtrack'
end
- def fields
- super.select { _1.name.in?(%w[project_url issues_url]) }
+ def self.fields
+ super.select { %w[project_url issues_url].include?(_1.name) }
end
end
end