Example #1
0
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
            })
        );
    };
}
Example #2
0
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
            })
        );
    };
}
Example #3
0
function updateController() {
    ctrlFactory.update.call(this, '/rest/admin/invitations/:id');
    this.controllerAction = save;
}
Example #4
0
function updateController() {
    ctrlFactory.update.call(this, '/rest/admin/accountnwdayscalendars/:id');
    this.controllerAction = save;
}
Example #5
0
function updateController() {
    ctrlFactory.update.call(this, '/rest/admin/compulsoryleaves/:id');
    this.controllerAction = save;
}
Example #6
0
function updateController() {
    ctrlFactory.update.call(this, '/rest/admin/beneficiaries/:id');
    this.controllerAction = save;
}