src/controllers/admin/AdminCrudController.php
protected function also_add_menu_item($object)
	{
		$MenuItem = App::make('MenuItem');

		$menuItem = new $MenuItem;
		$menuItem->skipEvents = true;
		$menuItem->menu_id    = Input::get('menu_id');
		$menuItem->fmodel     = $this->Model;
		$menuItem->fid        = $object->id;
		$menuItem->order      = $MenuItem::where('menu_id', Input::get('menu_id'))->count();
		$menuItem->save();

		return Redirect::to(admin_uri('menus'))->with('success', $this->Model . ' and menu link successfully created.');
	}
protected function also_add_menu_item($object)
	{
		$MenuItem = App::make('MenuItem');

		$menuItem = new $MenuItem;
		$menuItem->skipEvents = true;
		$menuItem->menu_id    = Input::get('menu_id');
		$menuItem->fmodel     = $this->Model;
		$menuItem->fid        = $object->id;
		$menuItem->order      = $MenuItem::where('menu_id', Input::get('menu_id'))->count();
		$menuItem->save();

		return Redirect::to(admin_uri('menus'))->with('success', $this->Model . ' and menu link successfully created.');
	}
Handle adding new menu items when creating content (such as pages) from within the menu system.

@param AngelModel $object - The model we just added.
@return Redirect to the menu index with success message.