/** * New inspiration * * @return mixed */ public function newInspirationEvent() { $events = new Events(); $user_id = \Flocc\Auth::getUserId(); $draft = $events->getUserDraft($user_id, true); if ($draft !== null) { $draft->delete(); } $draft = $events->createDraft($user_id, true); return redirect()->route('events.edit', ['id' => $draft->getId()]); }