Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
geggleto committed Jan 6, 2016
1 parent 4c9fbae commit 2911237
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ PSR-7 Compliant
*/

//In Slim v3
$app->add(\Geggleto\Acl\AclRepository("guest",
$app->add(\Geggleto\Acl\AclRepository(["guest"],
//This should be in a nice php file by itself for easy inclusion... include '/path/to/acl/definition.php'
[
"resources" => ["/", "/no", "/yes"],
"roles" => ["guest", "user1", "user2"],
Expand Down

0 comments on commit 2911237

Please sign in to comment.