Skip to content

Commit

Permalink
Fix undefined variable error (forem#18567)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalpern authored Oct 11, 2022
1 parent 201f4d9 commit f1bdfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/articles/_full_comment_area.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f1bdfcb

Please sign in to comment.