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