app/Http/Controllers/ReviewController.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()
    {
        $reviews=Review::all();
        $customer=Customer::all();
        $product=Product::all();
        return view('back.dashboard.reviews.index',compact('reviews','customer','product'));
    }
public function index ( ) { $ reviews = Review :: all ( ) ; $ customer = Customer :: all ( ) ; $ product = Product :: all ( ) ; return view ( 'back.dashboard.reviews.index' , compact ( 'reviews' , 'customer' , 'product' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .