Render units from collection, without redirects

This commit is contained in:
2024-01-15 18:45:30 +01:00
parent de995aa586
commit 5047d4909f
9 changed files with 37 additions and 22 deletions

View File

@@ -0,0 +1,3 @@
<%= turbo_stream.update :units do %>
<%= render(@units) || render_no_items %>
<% end %>