Skip to content

Commit

Permalink
Fix streaming task creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbhannah committed Nov 27, 2024
1 parent 91adbd3 commit 517993a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/tasks/create.turbo_stream.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<%= turbo_stream.replace "new_task", partial: "form", locals: { task: Task.new } %>
<%= turbo_stream.replace :new_task, partial: "form", locals: { task: Task.new } %>

<%= turbo_stream.append task.user, :tasks, partial: "task" %>
<%= turbo_stream.append :tasks, partial: "task" %>

0 comments on commit 517993a

Please sign in to comment.