summaryrefslogtreecommitdiff
path: root/app/models/concerns/mentionable.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-14 17:09:02 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-26 15:48:32 -0400
commit1a277c502590fbdb652f73ec3c0974ff70ea5416 (patch)
tree84d04e8546f74b872f131d2b3352b880da5f54eb /app/models/concerns/mentionable.rb
parentb88da58cb6272a86b6df2e4efe392f10e689a6b2 (diff)
downloadgitlab-ce-1a277c502590fbdb652f73ec3c0974ff70ea5416.tar.gz
Minor documentation updates
Diffstat (limited to 'app/models/concerns/mentionable.rb')
-rw-r--r--app/models/concerns/mentionable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/mentionable.rb b/app/models/concerns/mentionable.rb
index f28b20afd8e..9b299889476 100644
--- a/app/models/concerns/mentionable.rb
+++ b/app/models/concerns/mentionable.rb
@@ -25,7 +25,7 @@ module Mentionable
# By default this will be the class name and the result of calling
# `to_reference` on the object.
def gfm_reference
- # Convert "MergeRequest" to "merge request"
+ # "MergeRequest" > "merge_request" > "Merge request" > "merge request"
friendly_name = self.class.to_s.underscore.humanize.downcase
"#{friendly_name} #{to_reference}"