app/controllers/concerns/comable/shipment_action.rb in comable_frontend-0.3.4 vs app/controllers/concerns/comable/shipment_action.rb in comable_frontend-0.4.0
- old
+ new
@@ -8,10 +8,10 @@
order_params_for_shipment
end
def order_params_for_shipment
params.fetch(:order, {}).permit(
- :shipment_method_id
+ shipment_attributes: [:shipment_method_id]
)
end
end
end