diff --git a/README.md b/README.md index 53ed9fb..de8a830 100755 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ use Enforcer; Enforcer::addPermissionForUser('eve', 'articles', 'read'); // adds a role for a user. Enforcer::addRoleForUser('eve', 'writer'); -// adds permissions to a rule +// adds permissions to a role Enforcer::addPolicy('writer', 'articles','edit'); ```