summaryrefslogtreecommitdiff
path: root/app/models/merge_request.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-11 15:56:00 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-26 15:48:31 -0400
commit0359d41b064e9f7680d0017013e011103747b614 (patch)
treeddfd718de791e8df6f7717e6a6656d8ef41b497e /app/models/merge_request.rb
parent38fb6279f9709e43f80c70c1fd4cccef77963b21 (diff)
downloadgitlab-ce-0359d41b064e9f7680d0017013e011103747b614.tar.gz
Implement gfm_reference directly in Mentionable
Except for Note, which still overrides it.
Diffstat (limited to 'app/models/merge_request.rb')
-rw-r--r--app/models/merge_request.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb
index bfbf498591a..60b0ce6c018 100644
--- a/app/models/merge_request.rb
+++ b/app/models/merge_request.rb
@@ -304,11 +304,6 @@ class MergeRequest < ActiveRecord::Base
end
end
- # Mentionable override.
- def gfm_reference
- "merge request #{to_reference}"
- end
-
def target_project_path
if target_project
target_project.path_with_namespace