app/Http/Controllers/CouponController.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()
    {  
        return view('backend.coupon.index',[
        'coupons' => Coupon::paginate(15),
        ]);
    }
public function index ( ) { return view ( 'backend.coupon.index' , [ 'coupons' => Coupon :: paginate ( 15 ) , ] ) ; }
Display a listing of the resource.
Display a listing of the resource .