diff --git a/app/views/cards/comments/create.turbo_stream.erb b/app/views/cards/comments/create.turbo_stream.erb index a120ac82c..8dd0db841 100644 --- a/app/views/cards/comments/create.turbo_stream.erb +++ b/app/views/cards/comments/create.turbo_stream.erb @@ -1,7 +1,7 @@ -<%= turbo_stream.before dom_id(@card, :new_comment) do %> +<%= turbo_stream.before [ @card, :new_comment ] do %> <%= render "cards/comments/comment", comment: @comment %> <% end %> -<%= turbo_stream.update dom_id(@card, :new_comment) do %> +<%= turbo_stream.update [ @card, :new_comment ] do %> <%= render "cards/comments/new", card: @card %> <% end %>