Skip to content
This repository has been archived by the owner on May 14, 2018. It is now read-only.

Commit

Permalink
Merge pull request #264 from remy-theroux/patch-1
Browse files Browse the repository at this point in the history
Fix documentation character error
  • Loading branch information
Ocramius committed Sep 6, 2014
2 parents 2e5977c + 852980e commit ff602bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/simple-example.md
Expand Up @@ -42,7 +42,7 @@ return [
'allow' => [
[['administration'], 'menu', ['menu_menu1']],
[['administration', 'affiliate'], 'menu', ['menu_menu2']],
[[administration', 'affiliate', 'guest'], 'menu', ['menu_menu3']],
[['administration', 'affiliate', 'guest'], 'menu', ['menu_menu3']],
],
],
],
Expand All @@ -63,11 +63,11 @@ items:
<li>Menu 1</li>
<?php } ?>

<?php if ($this->isAllowed('menu', ‘menu'_menu2 )) { ?>
<?php if ($this->isAllowed('menu', 'menu_menu2')) { ?>
<li>Menu 2</li>
<?php } ?>

<?php if ($this->isAllowed('menu', ‘menu'_menu2)) { ?>
<?php if ($this->isAllowed('menu', 'menu_menu2')) { ?>
<li>Menu 3</li>
<?php } ?>
</ul>
Expand Down

0 comments on commit ff602bb

Please sign in to comment.