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