summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2017-06-30 14:47:53 +0200
committerAdam Niedzielski <adamsunday@gmail.com>2017-06-30 14:47:53 +0200
commit9da3076944146444cb864d5db066a766c76b1935 (patch)
tree85be2f080e31d3ad9f5243b49dbc4366cd0f9f71 /app/models/project.rb
parent81dba76b9d7d120cd22e3619a4058bd4885be9bc (diff)
downloadgitlab-ce-9da3076944146444cb864d5db066a766c76b1935.tar.gz
Improve support for external issue referencesadam-external-issue-references-spike
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index a75c5209955..8140ed3763f 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -727,8 +727,8 @@ class Project < ActiveRecord::Base
end
end
- def issue_reference_pattern
- issues_tracker.reference_pattern
+ def external_issue_reference_pattern
+ external_issue_tracker.class.reference_pattern
end
def default_issues_tracker?