diff --git a/app/views/articles/_full_comment_area.html.erb b/app/views/articles/_full_comment_area.html.erb index eff71ad695993..575cb215d7c72 100644 --- a/app/views/articles/_full_comment_area.html.erb +++ b/app/views/articles/_full_comment_area.html.erb @@ -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 %>