mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-24 22:36:22 +02:00
Update
- updated styles - added edit functionality
This commit is contained in:
parent
2630cc237a
commit
b72dfc474e
21 changed files with 136 additions and 52 deletions
|
@ -23,7 +23,9 @@ angular.module('rallly', ['ui.router','ngResource','ngFx'])
|
|||
})
|
||||
})
|
||||
.factory('Event', function($resource){
|
||||
return $resource('/api/event/:id', { id : '@_id' });
|
||||
return $resource('/api/event/:id', { id : '@_id' }, {
|
||||
'update' : { method : 'PUT' }
|
||||
});
|
||||
})
|
||||
.factory('Participant', function($resource){
|
||||
return $resource('/api/event/:id/participant/:pid', { id: '@_id', pid : '@pid'});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue