forked from fixin.me/fixin.me
Render units from collection, without redirects
This commit is contained in:
3
app/views/units/index.turbo_stream.erb
Normal file
3
app/views/units/index.turbo_stream.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<%= turbo_stream.update :units do %>
|
||||
<%= render(@units) || render_no_items %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user