mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fixing a nil.id bug
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
%fieldset#shipping
|
||||
%legend Shipping
|
||||
- checked_id = @order.shipping_method_id || current_distributor.shipping_methods.first.id
|
||||
- checked_id = @order.shipping_method_id || current_distributor.shipping_methods.first.andand.id
|
||||
- for ship_method, i in current_distributor.shipping_methods.uniq
|
||||
.row
|
||||
.large-12.columns
|
||||
|
||||
Reference in New Issue
Block a user