app/Http/Controllers/NavbarController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Navbar  $navbar
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        $this->authorize('edit');
        $navbar=Navbar::find($id);
        return view('backoffice.header.edit', compact('navbar'));
    }
public function edit ( $ id ) { $ this -> authorize ( 'edit' ) ; $ navbar = Navbar :: find ( $ id ) ; return view ( 'backoffice.header.edit' , compact ( 'navbar' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .