Used Turbo Frames/Streams for adding/deleting tasks without refresh entire browser
This commit is contained in:
1
app/views/tasks/destroy.turbo_stream.erb
Normal file
1
app/views/tasks/destroy.turbo_stream.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= turbo_stream.remove dom_id(@task) %>
|
||||
Reference in New Issue
Block a user