Don't need to pass the order through the nested view

This commit is contained in:
Jean-Baptiste Bellet
2023-05-26 10:47:22 +02:00
parent 6775e0b8f1
commit f26ecdf4f9

View File

@@ -13,6 +13,6 @@
%div{id: "#{tab[:name]}_panel", "data-tabs-and-panels-target": "panel #{'default' if tab[:default]}" }
.page-view
- if tab[:custom]
= render "shopping_shared/tabs/custom", order: @order
= render "shopping_shared/tabs/custom"
- else
= render "shopping_shared/tabs/#{tab[:name]}"