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:
authorRobert Speicher <rspeicher@gmail.com>2015-05-11 22:56:00 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-26 22:48:31 +0300
commit0359d41b064e9f7680d0017013e011103747b614 (patch)
treeddfd718de791e8df6f7717e6a6656d8ef41b497e /app/models/issue.rb
parent38fb6279f9709e43f80c70c1fd4cccef77963b21 (diff)
Implement gfm_reference directly in Mentionable
Except for Note, which still overrides it.
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index ff13cbca845..31803b57b3f 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -68,12 +68,6 @@ class Issue < ActiveRecord::Base
reference
end
- # Mentionable overrides.
-
- def gfm_reference
- "issue #{to_reference}"
- end
-
# Reset issue events cache
#
# Since we do cache @event we need to reset cache in special cases: