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