diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-11-22 16:20:35 +0300 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-11-23 14:59:14 +0300 |
commit | e826c5d0917a7fe2225fb6ba0862bc56c1ef3fc2 (patch) | |
tree | e3e140a141541109d6cd23d8a36899ea57a20298 /app/models/external_issue.rb | |
parent | 6369db0196ec7b6e288b16382c95243424a59b62 (diff) |
Fix link text from group context
Diffstat (limited to 'app/models/external_issue.rb')
-rw-r--r-- | app/models/external_issue.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/external_issue.rb b/app/models/external_issue.rb index 9ff56f229bc..2aaba2e4c90 100644 --- a/app/models/external_issue.rb +++ b/app/models/external_issue.rb @@ -38,11 +38,11 @@ class ExternalIssue @project.id end - def to_reference(_from_project = nil, full: nil) + def to_reference(_from = nil, full: nil) id end - def reference_link_text(from_project = nil) + def reference_link_text(from = nil) return "##{id}" if id =~ /^\d+$/ id |