Commit 9dd58c320a38cbcaf8134157103b2b2a2fad76d2
1 parent
5245fac6
Exists in
spb-stable
and in
3 other branches
Add to changelog.
Showing
2 changed files
with
6 additions
and
3 deletions
Show diff stats
CHANGELOG
lib/gitlab/markdown.rb
| ... | ... | @@ -167,7 +167,7 @@ module Gitlab |
| 167 | 167 | |
| 168 | 168 | def reference_user(identifier) |
| 169 | 169 | if user = User.find_by_username(identifier) |
| 170 | - link_to("@#{identifier}", user_url(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) if user | |
| 170 | + link_to("@#{identifier}", user_url(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) | |
| 171 | 171 | end |
| 172 | 172 | end |
| 173 | 173 | ... | ... |