Commit 49709b1d8a7530ba02bb279eff0fb16cfc7eaf35

Authored by Dmitriy Zaporozhets
1 parent 53a75680

Fix broken user link in email

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/gitlab/markdown.rb
... ... @@ -167,7 +167,7 @@ module Gitlab
167 167  
168 168 def reference_user(identifier)
169 169 if member = @project.team_members.find { |user| user.username == identifier }
170   - link_to("@#{identifier}", user_path(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) if member
  170 + link_to("@#{identifier}", user_url(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) if member
171 171 end
172 172 end
173 173  
... ...