X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4470cb88e0556041452719a3b4d7396cb3e3ec4a..6df5bd4acd8037d09af95f369ebfbabc826e8191:/app/views/users/show.html.erb
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index b2247c0d0..8ef7b5644 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -26,7 +26,7 @@
<%= 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) %>
@@ -78,7 +78,7 @@
<%= 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 %>