diff --git a/app/views/teams/members/_show.html.haml b/app/views/teams/members/_show.html.haml index ec472878..dbbb382d 100644 --- a/app/views/teams/members/_show.html.haml +++ b/app/views/teams/members/_show.html.haml @@ -3,9 +3,9 @@ %li{id: dom_id(member), class: "team_member_row user_#{user.id}"} .row .span5 - = link_to team_member_path(@team, user), title: user.name, class: "dark" do + = link_to user_path(user.username), title: user.name, class: "dark" do = image_tag gravatar_icon(user.email, 40), class: "avatar s32" - = link_to team_member_path(@team, user), title: user.name, class: "dark" do + = link_to user_path(user.username), title: user.name, class: "dark" do %strong= truncate(user.name, lenght: 40) %br %small.cgray= user.email