app/Http/Controllers/PortfolioController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Portfolio  $portfolio
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Portfolio $portfolio)
    {
        $this->authorize('edit');
        return view('backoffice.portfolio.edit', compact('portfolio'));
    }
public function edit ( Portfolio $ portfolio ) { $ this -> authorize ( 'edit' ) ; return view ( 'backoffice.portfolio.edit' , compact ( 'portfolio' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .