Commit 87b6ce2a authored by Nicolas Widart's avatar Nicolas Widart

Adding menus to the index

parent 1a81c4b8
......@@ -22,7 +22,9 @@ class MenuController extends AdminBaseController
public function index()
{
return View::make('menu::admin.menus.index');
$menus = $this->menu->all();
return View::make('menu::admin.menus.index', compact('menus'));
}
public function create()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment