Skip to content

Commit

Permalink
options.fields
Browse files Browse the repository at this point in the history
  • Loading branch information
etai committed May 1, 2013
1 parent 74d8595 commit 21ba595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/models/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var users = module.exports = mongoose.model('users', schema);
*/
users.resors = {
allow: [ 'get', 'post', 'put', 'delete' ],
fields: 'email',
fields: 'name email',
editable: 'email', // TODO
filtering: 'name', // TODO
sorting: 'name', // TODO,
Expand Down

0 comments on commit 21ba595

Please sign in to comment.