app/Http/Controllers/CarController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Car  $car
     * @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('pages.car.edit',[
            'car'=>Car::where('id',$id)->first()
        ]);
    }
public function edit ( $ id ) { return view ( 'pages.car.edit' , [ 'car' => Car :: where ( 'id' , $ id ) -> first ( ) ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .