From 74786089ff4720cd809909eaef4a521abbf2d23a Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Mon, 11 Aug 2014 16:56:56 +0000 Subject: [PATCH] Fix thumbnail_url bug --- app/views/invitations/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/invitations/show.html.haml b/app/views/invitations/show.html.haml index 9f98277a..1a6f4217 100644 --- a/app/views/invitations/show.html.haml +++ b/app/views/invitations/show.html.haml @@ -21,7 +21,7 @@ %h3=current_user.team.name .members -current_user.team.top_three_team_members.each do |member| - =link_to(image_tag(member.thumbnail_url, :class => 'avatar', :alt => member.username), profile_path(member.username)) + =link_to(image_tag(member.avatar.url, :class => 'avatar', :alt => member.username), profile_path(member.username)) -if current_user.team.size > 3 .size="+ #{current_user.team.size - 3}" =link_to('Stay with this team', team_path(current_user.team, :flash => "Great, you're still on team #{current_user.team.name}"), :class => 'button stay')