/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { // $seriesevents = SeriesEvent::all(); $event = Event::find($id); return view('events.edit', compact('seriesevents', 'event')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { // $seriesevents = SeriesEvent::all(); return view('seriesevents.index', compact('seriesevents')); }