Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public function show($slug) { $event = \App\Event::slug($slug)->first(); if (!is_null($event)) { $data = ['categories' => Category::withEvents()->get(), 'event' => $event, 'prices' => $event->prices]; return view('site.events.show', $data); } else { return abort(404); } }