From: Tom MacWright Date: Tue, 14 Aug 2012 18:53:51 +0000 (-0400) Subject: Fix regression - no link to view diary of other users X-Git-Tag: live~5434 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/2638cd525262321f28479e5c5598866b4e2fd93e Fix regression - no link to view diary of other users --- diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 70e4f1828..8ba4c0725 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -36,6 +36,8 @@ <%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => @this_user.display_name %> | + <%= link_to t('user.view.diary'), :controller => 'diary_entry', :action => 'list', :display_name => @this_user.display_name %> + | <%= link_to t('user.view.comments'), :controller => 'diary_entry', :action => 'comments', :display_name => @this_user.display_name %> | <% if @user and @user.is_friends_with?(@this_user) %>