Fixing a nil.id bug

This commit is contained in:
Will Marshall
2014-02-27 14:04:04 +11:00
parent e92d21ec4e
commit 18f92fbff5

View File

@@ -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