Rename diary_comments_path to user_diary_comments_path
This commit is contained in:
parent
df1a9bb2c9
commit
899795a82b
3 changed files with 9 additions and 9 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue