adds cache for authors of debate/comment

This commit is contained in:
Juanjo Bazán
2015-09-06 22:03:31 +02:00
parent ca8c445404
commit bf18da3faa
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
<% cache [locale_and_user_status, comment, @commentable, comment.author, (@comment_flags[comment.id] if @comment_flags)] do %>
<% 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">