removes all comments cache

This commit is contained in:
rgarcia
2015-09-07 10:55:23 +02:00
parent e2131a7327
commit 13cf1d9449
2 changed files with 119 additions and 123 deletions

View File

@@ -1,4 +1,3 @@
<% cache [locale_and_user_status(comment), comment, @commentable, comment.author, (@comment_flags[comment.id] if @comment_flags)] do %>
<div class="row">
<div id="<%= dom_id(comment) %>" class="comment small-12 column">
@@ -94,7 +93,6 @@
</div>
</div>
<% end %>
<% end %>
<div class="comment-children">
<% select_children(@comments, comment).each do |child| %>
<%= render 'comments/comment', comment: child %>

View File

@@ -1,4 +1,3 @@
<% cache [locale_and_user_status, @all_visible_comments, @all_visible_comments.map(&:author), @debate.comments_count, @comment_flags] do %>
<section class="row-full comments">
<div class="row">
<div id="comments" class="small-12 column">
@@ -27,4 +26,3 @@
</div>
</div>
</section>
<% end %>