Factor our run form template

This commit is contained in:
Ben Ramey
2014-06-24 21:54:03 -05:00
parent 0609c52fbc
commit 90fee4987e
4 changed files with 83 additions and 159 deletions

View File

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