-
-
Save anonymous/f7d31e0819cf1618abda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.Adapter.map(function(){ | |
serializer: DS.Serializer.create({ | |
primaryKey: function(type) { | |
var typeString = type.toString.split(".")[1].underscore(); | |
console.log("test"); | |
return typeString + "_id"; | |
} | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment