public function index() { //$products = Products::all(); $products = Products::take(99)->get(); $brands = Brand::all(array('name')); return view('products', ['products' => $products], ['brands' => $brands]); }