public function index() { $groups = ItemGroup::all(); $items = Item::all(); return view('catalogue')->with('groups', $groups)->with('items', $items); }