Change order url to invitee ID, add invitee model

This commit is contained in:
Ben Ramey
2014-05-13 13:11:43 -05:00
parent e4552ebfe4
commit d02bd6c659
10 changed files with 136 additions and 72 deletions

View File

@@ -16,7 +16,7 @@ lunchApp.config ['$routeProvider',
.when '/run/:id',
templateUrl: 'templates/run/show.html',
controller: 'RunCtrl'
.when '/run/:id/order/:inviteeName',
.when '/order/:inviteeId',
templateUrl: 'templates/run/create-order.html',
controller: 'CreateOrderCtrl'
.otherwise