Skip to content

Commit

Permalink
Add route option to example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroennoten committed Nov 3, 2016
1 parent 84a258e commit ac6d1f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,19 @@ You can configure your menu as follows:
'ACCOUNT SETTINGS',
[
'text' => 'Profile',
'url' => 'admin/settings',
'route' => 'admin.profile',
'icon' => 'user'
],
[
'text' => 'Change Password',
'url' => 'admin/settings',
'route' => 'admin.password',
'icon' => 'lock'
],
],
```

With a single string, you specify a menu header item to separate the items.
With an array, you specify a menu item. `text` and `url` are required attributes.
With an array, you specify a menu item. `text` and `url` or `route` are required attributes.
The `icon` is optional, you get an [open circle](http://fontawesome.io/icon/circle-o/) if you leave it out.
The available icons that you can use are those from [Font Awesome](http://fontawesome.io/icons/).
Just specify the name of the icon and it will appear in front of your menu item.
Expand Down

0 comments on commit ac6d1f7

Please sign in to comment.