Back out previous change, and use the name in the "Posted by" line to
link to the user details instead.
This commit is contained in:
parent
52e58e77c8
commit
04488fec2c
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.display_name,{:controller => 'diary_entry', :action => 'list', :display_name => diary_entry.user.display_name} %></b> at <%= diary_entry.created_at %><br />
|
||||
Posted by user <b><%= link_to diary_entry.user.display_name, :controller => 'user', :action => 'view', :display_name => diary_entry.user.display_name %></b> at <%= diary_entry.created_at %><br />
|
||||
<br />
|
||||
<hr />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue