projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f52b3
)
Link to a user's details from their diary page.
author
Tom Hughes
<tom@compton.nu>
Sat, 28 Jul 2007 19:06:07 +0000
(19:06 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 28 Jul 2007 19:06:07 +0000
(19:06 +0000)
app/views/diary_entry/list.rhtml
patch
|
blob
|
history
diff --git
a/app/views/diary_entry/list.rhtml
b/app/views/diary_entry/list.rhtml
index 37b0365aa164459c2310f517e76cfc12f420fe2a..873528bd8138e08a45358cb8d0da4b9bbc464040 100644
(file)
--- a/
app/views/diary_entry/list.rhtml
+++ b/
app/views/diary_entry/list.rhtml
@@
-1,5
+1,5
@@
<% if @this_user %>
- <h2><%= @this_user.display_name %>'s diary</h2>
+ <h2><%=
link_to @this_user.display_name, :controller => 'user', :action => 'view', :display_name =>
@this_user.display_name %>'s diary</h2>
<% if @user and @this_user.id == @user.id %>
<%= link_to 'new post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>