This commit is contained in:
Tom Hughes 2007-08-22 00:10:17 +00:00
parent 169aac77d8
commit 7b659f4f30

View file

@ -2,7 +2,7 @@
<h2><%= @this_user.display_name %>'s diary</h2> <h2><%= @this_user.display_name %>'s diary</h2>
<% if @user and @this_user.id == @user.id %> <% if @user and @this_user.id == @user.id %>
<%= link_to 'new post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %> <%= link_to 'New diary post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
<% end %> <% end %>
<% end %> <% end %>