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
1 changed files with 1 additions and 1 deletions

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