Skip to content

Commit

Permalink
Include inverse_of in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Watts authored and mikwat committed Oct 3, 2016
1 parent a0ef879 commit 41b428a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ The `rolify` method accepts the following callback options:

Mongoid callbacks are also supported and works the same way.

The `rolify` method also accepts the `inverse_of` option if you need to disambiguate the relationship.

### 3.2 Configure your resource models

In the resource models you want to apply roles on, just add ``resourcify`` method.
Expand Down

0 comments on commit 41b428a

Please sign in to comment.