app/Http/Controllers/CouponController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Coupon  $coupon
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        return view('backend.coupon.edit',[
            'coupon' => Coupon::findOrFail($id),
        ]);
    }
public function edit ( $ id ) { return view ( 'backend.coupon.edit' , [ 'coupon' => Coupon :: findOrFail ( $ id ) , ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .