Skip to content

Commit

Permalink
Updated MenuItem Seed
Browse files Browse the repository at this point in the history
  • Loading branch information
maab16 committed Jan 29, 2020
1 parent 56eae15 commit ccaab24
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion database/seeds/MenuItemsSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ public function run()
$menuItem->url = "/admin/menus";
$menuItem->parent_id = null;
$menuItem->order = 1;
$menuItem->route = 'admin.menus';
$menuItem->params = null;
$menuItem->middleware = null;
$menuItem->controller = '\CodexShaper\Menu\Http\Controllers\MenuController@index';
$menuItem->target = '_self';
$menuItem->icon = null;
$menuItem->custom_class = null;
$menuItem->save();
}
}
}

0 comments on commit ccaab24

Please sign in to comment.