Show Done tasks and Fixed turbo frame and stream bug

This commit is contained in:
KaungKaung
2026-01-30 09:38:32 +06:30
parent 7c9aef4324
commit 7f6123a6e6
4 changed files with 27 additions and 35 deletions

View File

@@ -1,10 +1,3 @@
<%= turbo_stream.replace dom_id(@task) do %>
<li>
<%= @task.title %> (<%= @task.status %>)
<%= link_to "Destroy", project_task_path(@project, @task), data: {
turbo_method: :delete,
turbo_confirm: "Are you sure?"
} %>
</li>
<%= render @task %>
<% end %>