Adds _comment_tree view

This commit is contained in:
kikito
2016-12-02 19:20:33 +01:00
parent 83d254adae
commit 84eb6fcfc1
2 changed files with 36 additions and 1 deletions

View File

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