mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Rename PostablePolicyClass to PostablePolicy in README for clarity
This commit is contained in:
parent
055509ea3a
commit
2d9e0549e6
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class, instead of letting Pundit infer it. This can be done like so:
|
|||
``` ruby
|
||||
class Post
|
||||
def self.policy_class
|
||||
PostablePolicyClass
|
||||
PostablePolicy
|
||||
end
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue