public function getIndex() { $types = array_flip(EventType::toList()); return view('site.index', compact('types')); }