/** * Display a listing of the resource. * * @return Response */ public function index() { $committees = Committee::with('author')->get(); return view('home', ['committees' => $committees]); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { return Committee::delete($id); }