function updateController() { ctrlFactory.update.call(this, '/rest/account/recoverquantities/:id'); var controller = this; this.controllerAction = function() { // since service is query independant, we have to give // the additional parameter controller.jsonService( controller.service('user/recoverquantities/save', { modifiedBy: controller.req.user }) ); }; }
function updateController() { ctrlFactory.update.call(this, '/rest/manager/waitingrequests/:id'); var controller = this; this.controllerAction = function() { // since service is query independant, we have to give // the additional parameter controller.jsonService( controller.service('manager/waitingrequests/save', { user: this.req.user.id }) ); }; }
function updateController() { ctrlFactory.update.call(this, '/rest/admin/invitations/:id'); this.controllerAction = save; }
function updateController() { ctrlFactory.update.call(this, '/rest/admin/accountnwdayscalendars/:id'); this.controllerAction = save; }
function updateController() { ctrlFactory.update.call(this, '/rest/admin/compulsoryleaves/:id'); this.controllerAction = save; }
function updateController() { ctrlFactory.update.call(this, '/rest/admin/beneficiaries/:id'); this.controllerAction = save; }