From 67f0876ba7b48ee463896cfd179c22e52533bb26 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Oct 2025 16:36:15 +0100 Subject: [PATCH] In order of use --- app/views/cards/show.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/cards/show.html.erb b/app/views/cards/show.html.erb index c29519498..0d4be32cb 100644 --- a/app/views/cards/show.html.erb +++ b/app/views/cards/show.html.erb @@ -1,6 +1,5 @@ <% @page_title = @card.title %> <% @header_class = "header--card" %> -<%= turbo_stream_from @card %> <% content_for :head do %> <%= card_social_tags(@card) %> @@ -10,6 +9,8 @@ <%= link_back_to_collection(@card.collection) %> <% end %> +<%= turbo_stream_from @card %> +
<%= render "cards/container", card: @card %> <%= render "cards/messages", card: @card unless @card.creating? %>