Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
updated contributors
bump version to 0.6.6
  • Loading branch information
florianholzapfel committed Mar 20, 2014
1 parent e276b1b commit 3d7cd2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ serve(app, model, [options])
allows mongoose validators to be called. Default is ```true```.
(For more information, read the Mongoose docs:
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`.

### defaults
```
Expand All @@ -170,6 +172,7 @@ defaults(options)
* Christoph Herbst (https://github.com/cherbst)
* doobinay (https://github.com/doobinay)
* Hareesh (https://github.com/hareeshbabu82ns)
* 09setht (https://github.com/09setht)

## Formalia

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
},
{
"name": "Hareesh"
},
{
"name": "09setht"
}
],
"dependencies": {
Expand Down Expand Up @@ -82,5 +85,5 @@
"pretest": "./node_modules/.bin/jshint lib test",
"test": "./node_modules/.bin/mocha -R spec ./test --recursive --timeout 5s"
},
"version": "0.6.5"
"version": "0.6.6"
}

0 comments on commit 3d7cd2f

Please sign in to comment.