]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/list.rhtml
Get the user image right this time...
[rails.git] / app / views / diary_entry / list.rhtml
index 4fd5e7bc26f6dd4af4d057e70e0e3654ec49f386..b5480757860d6a464df121ac095b5c8ad208a79d 100644 (file)
@@ -1,7 +1,7 @@
 <h2><%= @title %></h2>
 
-<% 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 %>
 
 <br />