mirror of
https://github.com/Fishwaldo/role_model.git
synced 2025-03-15 19:42:43 +00:00
Fix typo in README
This commit is contained in:
parent
f33de4f8c1
commit
60bc927b42
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ It works like this:
|
|||
>> u.is_manager = true # If :prefix => "is_"
|
||||
=> [:admin, :manager]
|
||||
|
||||
# removing roles
|
||||
>> u.roles.remove(:manager)
|
||||
# deleting roles
|
||||
>> u.roles.delete(:manager)
|
||||
>> u.manager = false # if dynamic is enabled (by default) or...
|
||||
>> u.is_manager = false # If :prefix => "is_"
|
||||
=> [:admin]
|
||||
|
|
Loading…
Add table
Reference in a new issue