app/Http/Controllers/KontakController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Kontak  $kontak
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Kontak $kontak)
    {
        $kontak->delete();
        return redirect()->route('kontaks.index')
                        ->with('success','Kontak Berhasil Dihapus !');
    }
public function destroy ( Kontak $ kontak ) { $ kontak -> delete ( ) ; return redirect ( ) -> route ( 'kontaks.index' ) -> with ( 'success' , 'Kontak Berhasil Dihapus !' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .