From: Tom Hughes Date: Mon, 25 Feb 2008 18:55:25 +0000 (+0000) Subject: Get the user image right this time... X-Git-Tag: live~7858 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3acada409a9521885b4b3b553087747a15ae8dc3 Get the user image right this time... --- diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml index 4fd5e7bc2..b54807578 100644 --- a/app/views/diary_entry/list.rhtml +++ b/app/views/diary_entry/list.rhtml @@ -1,7 +1,7 @@

<%= @title %>

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