public function date($date) { $events = $this->eventsRepository->findEventsByDate($date); if (empty($events)) { abort(404); } return view('quarx-frontend::events.date')->with('events', $events); }