]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/show.html.erb
Merge remote-tracking branch 'upstream/pull/5529'
[rails.git] / app / views / users / show.html.erb
index b2247c0d01455d59cf68b9843a4bad4d6e9cdcbf..8ef7b56447d4fd891cdcb60daa0a8ef67c7543f9 100644 (file)
@@ -26,7 +26,7 @@
               <span class='badge count-number'><%= number_with_delimiter(current_user.diary_entries.size) %></span>
             </li>
             <li>
-              <%= link_to t(".my comments"), diary_comments_path(current_user) %>
+              <%= link_to t(".my comments"), user_diary_comments_path(current_user) %>
               <span class='badge count-number'><%= number_with_delimiter(current_user.diary_comments.size) %></span>
             </li>
             <li>
@@ -78,7 +78,7 @@
               <span class='badge count-number'><%= number_with_delimiter(@user.diary_entries.size) %></span>
             </li>
             <li>
-              <%= link_to t(".comments"), diary_comments_path(@user) %>
+              <%= link_to t(".comments"), user_diary_comments_path(@user) %>
               <span class='badge count-number'><%= number_with_delimiter(@user.diary_comments.size) %></span>
             </li>
             <% if current_user %>