Skip to content
Snippets Groups Projects
Commit 49709b1d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix broken user link in email

parent 53a75680
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -167,7 +167,7 @@ module Gitlab
 
def reference_user(identifier)
if member = @project.team_members.find { |user| user.username == identifier }
link_to("@#{identifier}", user_path(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) if member
link_to("@#{identifier}", user_url(identifier), html_options.merge(class: "gfm gfm-team_member #{html_options[:class]}")) if member
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment