From 32907b1c37244c6b1a1ce76a74edadf8817422ed Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Feb 2008 17:38:50 +0000 Subject: [PATCH] Display the image of the user who made the diary entry, not that of the currently logged in user... --- app/views/diary_entry/list.rhtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml index 7d592d87e..4fd5e7bc2 100644 --- a/app/views/diary_entry/list.rhtml +++ b/app/views/diary_entry/list.rhtml @@ -1,8 +1,9 @@

<%= @title %>

-<% if @this_user.image %> - <%= image_tag url_for_file_column(@this_user, "image") %> +<% if @user.image %> + <%= image_tag url_for_file_column(@user, "image") %> <% end %> +
<% if @this_user %> -- 2.43.2