Starting to rework checkout Login links

This commit is contained in:
Will Marshall
2014-04-08 14:34:50 +10:00
parent f2157e0356
commit a4cba99de6
5 changed files with 19 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
window.MenuCtrl = Darkswarm.controller "MenuCtrl", ($scope, Navigation) ->
window.AuthenticationActionsCtrl = Darkswarm.controller "AuthenticationActionsCtrl", ($scope, Navigation) ->
$scope.toggleLogin = ->
Navigation.navigate "/login"

View File

@@ -2,7 +2,7 @@ Darkswarm.controller "CheckoutCtrl", ($scope, $rootScope, Order, storage) ->
$scope.order = $scope.Order = Order
# Binding accordion panel states to local storage
storage.bind $scope, "user"
storage.bind $scope, "user", { defaultValue: true }
storage.bind $scope, "details"
storage.bind $scope, "billing"
storage.bind $scope, "shipping"