Patching order cycle selector

This commit is contained in:
Will Marshall
2014-03-27 12:12:53 +11:00
parent 17bb1f9d25
commit e444ff8d2c
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
Darkswarm.controller "OrderCycleCtrl", ($scope, $rootScope, OrderCycle) ->
$scope.order_cycle = OrderCycle.order_cycle
$scope.OrderCycle = OrderCycle
$scope.changeOrderCycle = ->
OrderCycle.push_order_cycle()

View File

@@ -8,7 +8,7 @@
%closing
-#%img{src: "/icon/goes/here"}
Orders close
%strong {{ order_cycle.orders_close_at() | date_in_words }}
%strong {{ OrderCycle.orders_close_at() | date_in_words }}
= render partial: "shop/details"
%products.row