/** * Display a listing of the resource. * * @return Response */ public function index() { // $halls = Hall::all(); return view('halls.index', compact('halls')); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { // $exhibitions = Exhibition::all(); $halls = Hall::all(); $exhibitionevent = ExhibitionEvent::find($id); return view('exhibitionevents.edit', compact('exhibitionevent', 'exhibitions', 'halls')); }