mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-25 14:56:22 +02:00
Updated editing of event
This commit is contained in:
parent
6b1e9893e9
commit
bc1e25377c
16 changed files with 197 additions and 36 deletions
|
@ -5,7 +5,7 @@ angular.module('rallly', ['ui.router','ngResource','ngFx'])
|
|||
$stateProvider
|
||||
.state('index',{
|
||||
url : '/',
|
||||
templateUrl : 'templates/new.html',
|
||||
templateUrl : 'templates/newevent.html',
|
||||
controller : 'NewEventCtrl'
|
||||
})
|
||||
.state('about', {
|
||||
|
@ -16,6 +16,11 @@ angular.module('rallly', ['ui.router','ngResource','ngFx'])
|
|||
url : '/notfound',
|
||||
templateUrl : 'templates/notfound.html'
|
||||
})
|
||||
.state('editevent', {
|
||||
url: '/:id/edit',
|
||||
templateUrl : 'templates/editevent.html',
|
||||
controller : 'EditEventCtrl'
|
||||
})
|
||||
.state('event',{
|
||||
url : '/:id',
|
||||
templateUrl : 'templates/event.html',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue