adding counter_cache to comments children and WIPing on the issue
This commit is contained in:
@@ -14,11 +14,12 @@
|
||||
</span>
|
||||
|
||||
<p class="reply">
|
||||
númerototal respuestas
|
||||
<% if user_signed_in? %>
|
||||
|
|
||||
<%= render 'comments/form', {parent: comment, toggeable: true} %></p>
|
||||
<% end %>
|
||||
<%= t("debates.debate.responses", count: comment.children_count) %>
|
||||
<% if user_signed_in? %>
|
||||
|
|
||||
<%= render 'comments/form', {parent: comment, toggeable: true} %>
|
||||
<% end %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="comment-children">
|
||||
|
||||
Reference in New Issue
Block a user