/diary links to users
This commit is contained in:
parent
8758685a86
commit
1defb3ca1e
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<b><%= diary_entry.title %></b><br />
|
||||
<%= simple_format(diary_entry.body) %>
|
||||
Posted by user <b><%= link_to diary_entry.user_id,"spong" %></b> at <%= diary_entry.created_at %><br />
|
||||
Posted by user <b><%= link_to diary_entry.user.display_name,{:controller => 'user', :action=>'diary', :display_name => diary_entry.user.display_name} %></b> at <%= diary_entry.created_at %><br />
|
||||
<br />
|
||||
<hr />
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<h3>most recent posts:</h3>
|
||||
FIXME: geoRSS needed. Also proper user names and permalinks.<br><br>
|
||||
FIXME: geoRSS needed.<br><br>
|
||||
<%= render :partial => 'diary_entry/diary_entry', :collection => @entries %>
|
||||
|
|
Loading…
Add table
Reference in a new issue