From b14368223419a4ecd9afeee56652848c4ba9813c Mon Sep 17 00:00:00 2001 From: Alessandro Cuoghi Date: Fri, 25 Aug 2017 12:54:46 +0200 Subject: [PATCH] Changed image_tag property. --- app/views/communities/show.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/communities/show.html.erb b/app/views/communities/show.html.erb index 886c99351..6cb0f6c31 100644 --- a/app/views/communities/show.html.erb +++ b/app/views/communities/show.html.erb @@ -44,10 +44,12 @@ + + <% @participants.each do |participant| %>
- <%= image_tag("avatar_admin.png", size: 32, class: "admin-avatar float-left") %> + <%= avatar_image( participant, seed: participant.id, size: 32, class: 'author-photo') %>
<%= link_to participant.name, user_path(participant)%>