Fix undefined variable error (#18567)
This commit is contained in:
parent
201f4d998a
commit
f1bdfcbd34
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@
|
|||
<%= render partial: "articles/comment_tree",
|
||||
collection: article_comment_tree(@article, @comments_to_show_count, @comments_order),
|
||||
as: :comment_node,
|
||||
cached: proc { |comment, _sub_comments| [comment, @comments_order, user_signed_in] } %>
|
||||
cached: proc { |comment, _sub_comments| [comment, @comments_order, user_signed_in?] } %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue