From 18f92fbff5364ee742f16efc4cb8e4ec9f4b1ae7 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 27 Feb 2014 14:04:04 +1100 Subject: [PATCH] Fixing a nil.id bug --- app/views/shop/checkout/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shop/checkout/_form.html.haml b/app/views/shop/checkout/_form.html.haml index fa1d16867c..e21c86a94e 100644 --- a/app/views/shop/checkout/_form.html.haml +++ b/app/views/shop/checkout/_form.html.haml @@ -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