/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('cms/products/all')->with('products', Product::all()); }