From cc6b5cba9c20db23cb2fca59e6a18881a5f6a6f0 Mon Sep 17 00:00:00 2001 From: Alexander Zaytsev Date: Fri, 19 Dec 2025 09:33:07 +0100 Subject: [PATCH 1/3] Use hash for conditional class --- app/views/cards/comments/_comment.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/comments/_comment.html.erb b/app/views/cards/comments/_comment.html.erb index 2f8a120a0..f01a9df91 100644 --- a/app/views/cards/comments/_comment.html.erb +++ b/app/views/cards/comments/_comment.html.erb @@ -1,6 +1,6 @@ <% cache comment do %> <%# Helper Dependency Updated: avatar_image_tag 2025-12-15 %> - <%= turbo_frame_tag comment, :container, class: ["comment--system": comment.creator.system?] do %> + <%= turbo_frame_tag comment, :container, class: { "comment--system": comment.creator.system? } do %> <%# Cache bump 2025-12-14: action text attachment rendering changed for lightbox -%>