X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ebe13d28495726ee2f9c58b1e8e881d168406ef3..3acada409a9521885b4b3b553087747a15ae8dc3:/app/views/diary_entry/list.rhtml?ds=sidebyside 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 %>