From f1bdfcbd34c17afbe9a784d99db319b9e0b53e8f Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Tue, 11 Oct 2022 09:40:37 -0400 Subject: [PATCH] Fix undefined variable error (#18567) --- app/views/articles/_full_comment_area.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %>