App\Http\Controllers\Quarx\EventsController::date PHP Method

date() public method

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