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