An open API service indexing awesome lists of open source software.

https://github.com/cludden/sails-hook-must


https://github.com/cludden/sails-hook-must

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# sails-hook-must
a `sails` hook that replaces the default `policy` hook. This simply augments the default `policy` hook by auto-building any `sails-must` policies. For more info, see [sails-must](https://github.com/cludden/sails-must)

## Installing
Install via `npm`:
```npm install --save sails-hook-must```

Disable the default `policy` hook:
```javascript
// in .sailsrc

{
//..
"hooks": {
"policies": false
}
//..
}
```