diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-14 17:09:02 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-26 15:48:32 -0400 |
commit | 1a277c502590fbdb652f73ec3c0974ff70ea5416 (patch) | |
tree | 84d04e8546f74b872f131d2b3352b880da5f54eb /app/models/concerns/mentionable.rb | |
parent | b88da58cb6272a86b6df2e4efe392f10e689a6b2 (diff) | |
download | gitlab-ce-1a277c502590fbdb652f73ec3c0974ff70ea5416.tar.gz |
Minor documentation updates
Diffstat (limited to 'app/models/concerns/mentionable.rb')
-rw-r--r-- | app/models/concerns/mentionable.rb | 2 |
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}" |