]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_entry.rhtml
Make per-user diary entry lists go through the diary_entry controller so
[rails.git] / app / views / diary_entry / _diary_entry.rhtml
index cf9115f6ce447ae26a17b8c4313746d90939e11b..439cb9018280fb7e10e0f25163ec6eee43dc9521 100644 (file)
@@ -1,3 +1,5 @@
 <b><%= diary_entry.title %></b><br />
 <%= simple_format(diary_entry.body) %>
+Posted by user <b><%= link_to diary_entry.user.display_name,{:controller => 'diary_entry', :action => 'list', :display_name => diary_entry.user.display_name} %></b> at <%= diary_entry.created_at %><br />
 <br />
+<hr />