X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8809e1fd08377ebb010db09a5fd7de7e759d2583..90e787eed845a850eab63a22831c9cfa47f4dd3d:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 76bedf60e..a32f5fae1 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -26,11 +26,11 @@ <%= number_with_delimiter(current_user.diary_entries.size) %>
  • - <%= link_to t(".my comments"), diary_comments_path(current_user) %> + <%= link_to t(".my comments"), user_diary_comments_path(current_user) %> <%= number_with_delimiter(current_user.diary_comments.size) %>
  • - <%= link_to t(".my settings"), edit_account_path %> + <%= link_to t(".my_account"), edit_account_path %>
  • <% if current_user.blocks.exists? %> @@ -78,12 +78,12 @@ <%= number_with_delimiter(@user.diary_entries.size) %>
  • - <%= link_to t(".comments"), diary_comments_path(@user) %> + <%= link_to t(".comments"), user_diary_comments_path(@user) %> <%= number_with_delimiter(@user.diary_comments.size) %>
  • <% if current_user %>
  • - <% if current_user.friends_with?(@user) %> + <% if current_user.follows?(@user) %> <%= link_to t(".unfollow"), follow_path(:display_name => @user.display_name), :method => :delete %> <% else %> <%= link_to t(".follow"), follow_path(:display_name => @user.display_name), :method => :post %>