Improved inline edit feature

This commit is contained in:
Luke Vella 2015-01-12 16:18:18 +01:00
parent 10c035e359
commit 0eeb4866f4
10 changed files with 65 additions and 21 deletions

View file

@ -28,5 +28,7 @@ angular.module('rallly', ['ui.router','ngResource','ngFx'])
});
})
.factory('Participant', function($resource){
return $resource('/api/event/:id/participant/:pid', { id: '@_id', pid : '@pid'});
return $resource('/api/event/:id/participant/:pid', { id: '@_id', pid : '@pid'}, {
'update' : { method : 'PUT' }
});
});