summaryrefslogtreecommitdiff
path: root/app/models/external_issue.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-30 17:27:33 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-30 17:27:33 -0400
commit84a7675ea69b8bbd3e95a94fbcfad716daa77b36 (patch)
tree36b4bd7fdbabd9f27733669414ffc06f6dd1402b /app/models/external_issue.rb
parent242bebc13483c281af8bd2e0e9f6d7346997481e (diff)
downloadgitlab-ce-84a7675ea69b8bbd3e95a94fbcfad716daa77b36.tar.gz
Remove title_for_issue helper
Diffstat (limited to 'app/models/external_issue.rb')
-rw-r--r--app/models/external_issue.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/external_issue.rb b/app/models/external_issue.rb
index 50efcb32f1b..85fdb12bfdc 100644
--- a/app/models/external_issue.rb
+++ b/app/models/external_issue.rb
@@ -15,6 +15,10 @@ class ExternalIssue
@issue_identifier.to_s
end
+ def title
+ "External Issue #{self}"
+ end
+
def ==(other)
other.is_a?(self.class) && (to_s == other.to_s)
end