Skip to content

Commit 93dd820

Browse files
author
David Tang
committed
Update resource.md
1 parent 97a1951 commit 93dd820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/angular-data/resource/resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ angular.module('myApp', ['angular-data.DS'])
194194
name: 'post',
195195

196196
// Local definition, overrides the global definition
197-
beforeCreate = function (resourceName, attrs, cb) {
197+
beforeCreate: function (resourceName, attrs, cb) {
198198
console.log('beforeCreate defined for ' + resourceName);
199199
cb(null, attrs);
200200
}

0 commit comments

Comments
 (0)