Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
bump version to 0.6.7
  • Loading branch information
florianholzapfel committed Mar 21, 2014
1 parent b011df4 commit 0800658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ serve(app, model, [options])
http://mongoosejs.com/docs/api.html#model_Model.findByIdAndUpdate)
* contextFilter - `function(model, req)`. Allows authorization per request, for example filtering
items based on req.user. Defaults to `return model`.
* postCreate - A function with the signature `function (res, result, done)` which is run after document creation.
* postDelete - A function with the signature `function (res, result, done)` which is run after document deletion.

### defaults
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@
"pretest": "./node_modules/.bin/jshint lib test",
"test": "./node_modules/.bin/mocha -R spec ./test --recursive --timeout 5s"
},
"version": "0.6.6"
"version": "0.6.7"
}

0 comments on commit 0800658

Please sign in to comment.