app/Http/Controllers/ProductController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $products=Product::paginate(15);
        return view('Products.index',['products'=>$products]);
    }
public function index ( ) { $ products = Product :: paginate ( 15 ) ; return view ( 'Products.index' , [ 'products' => $ products ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
// 