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

@@ -21,7 +21,7 @@
</tr>
</thead>
<tbody id="units" is="turbo-frame">
<%= render partial: 'index' %>
<%= render(@units) || render_no_items %>
</tbody>
</table>