src/Controllers/EventController.php
public function confirmDestroy(Request $request, Event $event)
    {
        $this->authorize('delete', $event);

        return view('laralum::pages.confirmation', [
            'method'  => 'DELETE',
            'message' => __('laralum_events::general.sure_del_event', ['event' => $event->title]),
            'action'  => route('laralum::events.destroy', ['event' => $event->id]),
        ]);
    }
public function confirmDestroy(Request $request, Event $event)
    {
        $this->authorize('delete', $event);

        return view('laralum::pages.confirmation', [
            'method'  => 'DELETE',
            'message' => __('laralum_events::general.sure_del_event', ['event' => $event->title]),
            'action'  => route('laralum::events.destroy', ['event' => $event->id]),
        ]);
    }
public function confirmDestroy ( Request $ request , Event $ event ) { $ this -> authorize ( 'delete' , $ event ) ; return view ( 'laralum::pages.confirmation' , [ 'method' => 'DELETE' , 'message' => __ ( 'laralum_events::general.sure_del_event' , [ 'event' => $ event -> title ] ) , 'action' => route ( 'laralum::events.destroy' , [ 'event' => $ event -> id ] ) , ] ) ; }
confirm destroy of the specified resource from storage.

@param \Laralum\Events\Models\Event $event

@return \Illuminate\Http\Response
confirm destroy of the specified resource from storage .