We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a1951 commit 93dd820Copy full SHA for 93dd820
guide/angular-data/resource/resource.md
@@ -194,7 +194,7 @@ angular.module('myApp', ['angular-data.DS'])
194
name: 'post',
195
196
// Local definition, overrides the global definition
197
- beforeCreate = function (resourceName, attrs, cb) {
+ beforeCreate: function (resourceName, attrs, cb) {
198
console.log('beforeCreate defined for ' + resourceName);
199
cb(null, attrs);
200
}
0 commit comments