diff options
Diffstat (limited to 'app/models/integrations/youtrack.rb')
-rw-r--r-- | app/models/integrations/youtrack.rb | 4 |
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 |