Ejemplo n.º 1
0
 public function getEvents(string $id_slug, Request $req)
 {
     $id = unslug($id_slug)[0];
     $paid = $req->input('paid', 0);
     $theme = Theme::with('events')->find($id);
     $types = \App\Models\EventType::toTransList();
     return view('theme.events', compact('theme', 'paid', 'types'));
 }