src/Controllers/EventController.php
public function undoResponsible(Event $event, User $user)
    {
        $this->authorize('update', $event);
        $event->deleteResponsible($user);

        return redirect()->route('laralum::events.show', ['event' => $event->id])
            ->with('success', __('laralum_events::general.responsible_deleted', ['event_id' => $event->id, 'user_id' => $user->id]));
    }
public function undoResponsible(Event $event, User $user)
    {
        $this->authorize('update', $event);
        $event->deleteResponsible($user);

        return redirect()->route('laralum::events.show', ['event' => $event->id])
            ->with('success', __('laralum_events::general.responsible_deleted', ['event_id' => $event->id, 'user_id' => $user->id]));
    }
public function undoResponsible ( Event $ event , User $ user ) { $ this -> authorize ( 'update' , $ event ) ; $ event -> deleteResponsible ( $ user ) ; return redirect ( ) -> route ( 'laralum::events.show' , [ 'event' => $ event -> id ] ) -> with ( 'success' , __ ( 'laralum_events::general.responsible_deleted' , [ 'event_id' => $ event -> id , 'user_id' => $ user -> id ] ) ) ; }
Undo author from the specified resource from storage.

@param \Laralum\Events\Models\Event $event
@param \Laralum\Users\Models\User   $user

@return \Illuminate\Http\Response
Undo author from the specified resource from storage .