Fix broken user link in email

This commit is contained in:
Dmitriy Zaporozhets 2013-08-04 16:27:32 +03:00
parent 53a7568098
commit 49709b1d8a

View file

@ -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