/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // Return the view containing the list of Products return view('products.index', ['products' => $this->products->indexAll()]); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // Return the view containing the list of Products return view('products.index', ['products' => $this->products->indexAll()]); }