/** * 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')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { // $exhibitions = Exhibition::all(); return view('exhibitions.index', compact('exhibitions')); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { // $seriesevent = SeriesEvent::find($id); $exhibitions = Exhibition::all(); $exhibitors = Exhibitor::all(); return view('seriesevents.edit', compact('seriesevent', 'exhibitors', 'exhibitions')); }