Upgrades and fixes, maintenance
This commit is contained in:
@@ -282,6 +282,7 @@ define("activemodel-adapter/lib/system/active_model_serializer",
|
||||
*/
|
||||
keyForRelationship: function(key, kind) {
|
||||
key = decamelize(key);
|
||||
//if(key === 'active_list') debugger;
|
||||
if (kind === "belongsTo") {
|
||||
return key + "_id";
|
||||
} else if (kind === "hasMany") {
|
||||
|
||||
Reference in New Issue
Block a user