Merge pull request #2272 from strongloop/fix/emit-remote-disabled-event

Fix for `remoteMethodDisabled` PR
This commit is contained in:
Simon Ho 2016-04-29 19:36:25 -07:00
commit 69b2b41692
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ app.model = function(Model, config) {
this.emit('modelRemoted', Model.sharedClass);
}
self = this;
var self = this;
Model.on('remoteMethodDisabled', function(model, methodName) {
self.emit('remoteMethodDisabled', model, methodName);
});