From d019e282ae43aabe3e88d900a4ebe757f07c7f57 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 17 Apr 2025 15:00:14 +0200 Subject: [PATCH] Better name --- ..._comment.html.erb => _description_as_draft_comment.html.erb} | 0 app/views/cards/show.html.erb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/views/cards/{_card_description_as_a_comment.html.erb => _description_as_draft_comment.html.erb} (100%) diff --git a/app/views/cards/_card_description_as_a_comment.html.erb b/app/views/cards/_description_as_draft_comment.html.erb similarity index 100% rename from app/views/cards/_card_description_as_a_comment.html.erb rename to app/views/cards/_description_as_draft_comment.html.erb diff --git a/app/views/cards/show.html.erb b/app/views/cards/show.html.erb index d3ff6554a..df993c968 100644 --- a/app/views/cards/show.html.erb +++ b/app/views/cards/show.html.erb @@ -35,6 +35,6 @@ <% if @card.published? %> <%= render "cards/messages", card: @card %> <% else %> - <%= render "cards/card_description_as_a_comment", card: @card %> + <%= render "cards/description_as_draft_comment", card: @card %> <% end %>