From 31df3cea11263d2fb5ba5e649bc8d75a2221b6be Mon Sep 17 00:00:00 2001 From: Daniel Vincent Grippi Date: Sun, 12 Sep 2010 18:11:05 -0700 Subject: [PATCH] friend pictures on group edit page should now display the default person image if friend's picture isn't present --- app/views/groups/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml index b8fe6e904..621a577fb 100644 --- a/app/views/groups/edit.html.haml +++ b/app/views/groups/edit.html.haml @@ -32,7 +32,7 @@ -for person in group.people %li.person{:id => person.id, :from_group_id => group.id} - = image_tag(person.profile.image_url(:thumb_small)) unless person.profile.image_url.nil? + = person_image_tag(person) .name = person.real_name %p