app/Http/Controllers/FooterController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Footer  $footer
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Footer $footer)
    {
        $this->authorize("delete", Footer::class);
        $footer->delete();
        return redirect()->back();
    }
public function destroy ( Footer $ footer ) { $ this -> authorize ( " delete " , Footer :: class ) ; $ footer -> delete ( ) ; return redirect ( ) -> back ( ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .