1
0
Fork 0

Foxx Model: Also update whitelisted attributes

This commit is contained in:
Lucas Dohmen 2014-06-23 19:02:43 +02:00
parent 8d8dfe5cd0
commit d625e38acf
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ _.extend(Model.prototype, {
} else {
this.attributes[attributeName] = value;
}
this.whitelistedAttributes = whitelistProperties(this.attributes, this.constructor.attributes);
},
////////////////////////////////////////////////////////////////////////////////