Switching Checkout service to use CurrentOrder

This commit is contained in:
Will Marshall
2014-07-17 14:26:54 +10:00
parent 158bdd145f
commit 541fe9ec37
3 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
Darkswarm.factory 'Checkout', (Order, ShippingMethods, PaymentMethods, $http, Navigation, CurrentHub, RailsFlashLoader, Loading)->
Darkswarm.factory 'Checkout', (CurrentOrder, ShippingMethods, PaymentMethods, $http, Navigation, CurrentHub, RailsFlashLoader, Loading)->
new class Checkout
errors: {}
secrets: {}
order: Order.order
order: CurrentOrder.order
ship_address_same_as_billing: true
submit: ->