1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 23:15:24 +02:00

Fix brakeman by using a static partial with a defined collection

This commit is contained in:
hatz 2025-05-14 07:58:33 -05:00
parent 2f11615bec
commit cb8383c04b
No known key found for this signature in database

View file

@ -59,7 +59,7 @@
</div> </div>
<div class="p-1"> <div class="p-1">
<div class="flex flex-col bg-container rounded-xl shadow-border-xs first_child:rounded-t-xl last_child:rounded-b-xl"> <div class="flex flex-col bg-container rounded-xl shadow-border-xs first_child:rounded-t-xl last_child:rounded-b-xl">
<%= render partial: @rules, spacer_template: "shared/ruler" %> <%= render partial: "rule", collection: @rules, spacer_template: "shared/ruler" %>
</div> </div>
</div> </div>
</div> </div>