Skip to content

Commit

Permalink
sidebar item id
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Jul 5, 2016
1 parent b41bdeb commit 711ad5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Composers/SidebarViewComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public function compose(View $view)
{
$view->sidebar->group(trans('global.menus.content'), function (SidebarGroup $group) {
$group->addItem(trans('places::global.name'), function (SidebarItem $item) {
$item->id = 'places';
$item->icon = config('typicms.places.sidebar.icon', 'icon fa fa-fw fa-map-marker');
$item->weight = config('typicms.places.sidebar.weight');
$item->route('admin::index-places');
Expand Down

0 comments on commit 711ad5f

Please sign in to comment.