Skip to content

Commit fe672ef

Browse files
committedSep 17, 2014
Merge pull request #180 from shairez/patch-2
Update resource.md
2 parents 8ce5845 + d9f7860 commit fe672ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎guide/angular-data/resource/resource.md

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ var User = DS.defineResource('user');
2727
// The following are equivalent
2828
DS.find('user', 5);
2929
User.find(5);
30+
31+
DS.destroy('user', 5);
32+
User.destroy(5);
3033
```
3134

3235
See [defineResource(definition)](documentation/api/angular-data/DS.sync%20methods_defineResource) for detailed API information.

0 commit comments

Comments
 (0)
Please sign in to comment.