Display the image of the user who made the diary entry, not that of
the currently logged in user...
This commit is contained in:
parent
1c6a83f0e8
commit
32907b1c37
1 changed files with 3 additions and 2 deletions
|
@ -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 %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue