Update comments count when commenting on a debate or proposal

This commit is contained in:
Sergio Arbeo
2015-10-27 01:02:39 +01:00
parent 912deb38b2
commit 12ec1fe6f6
5 changed files with 11 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<div id="comments" class="small-12 column">
<h2>
<%= t("debates.show.comments_title") %>
<span>(<%= @debate.comments_count %>)</span>
<span class="js-comments-count">(<%= @debate.comments_count %>)</span>
</h2>
<% if user_signed_in? %>