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:
authorMarin Jankovski <marin@gitlab.com>2014-03-25 20:54:32 +0400
committerMarin Jankovski <marin@gitlab.com>2014-03-25 21:53:09 +0400
commit9dd58c320a38cbcaf8134157103b2b2a2fad76d2 (patch)
treeddfc9f5e6d7d8f8c5f1f466f607ca447426acb27 /lib/gitlab
parent5245fac63b7ec7b4ad17c91e821350cff8e3bf04 (diff)
Add to changelog.
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/markdown.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/markdown.rb b/lib/gitlab/markdown.rb
index 1d3c6ac6eea..de14a3eca27 100644
--- a/lib/gitlab/markdown.rb
+++ b/lib/gitlab/markdown.rb
@@ -167,7 +167,7 @@ module Gitlab
def reference_user(identifier)
if user = User.find_by_username(identifier)
- link_to("@#{identifier}", user_url(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) if user
+ link_to("@#{identifier}", user_url(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}"))
end
end