Display the image of the user who made the diary entry, not that of

the currently logged in user...
This commit is contained in:
Tom Hughes 2008-02-24 17:38:50 +00:00
parent 1c6a83f0e8
commit 32907b1c37

View file

@ -1,8 +1,9 @@
<h2><%= @title %></h2> <h2><%= @title %></h2>
<% if @this_user.image %> <% if @user.image %>
<%= image_tag url_for_file_column(@this_user, "image") %> <%= image_tag url_for_file_column(@user, "image") %>
<% end %> <% end %>
<br /> <br />
<% if @this_user %> <% if @this_user %>