/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $volunteers = Volunteer::all();
     // return var_dump($volunteers);
     $page = get_page_contents();
     return view('volunteers.index', compact('page', 'volunteers'));
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     //
     $volunteers = Volunteer::all();
     return $volunteers;
 }
 /**
  * Show the index page for all volunteers.
  * Responds to requests to GET /volunteers
  *
  * @return Response
  */
 public function index()
 {
     $volunteers = Volunteer::all();
     return view('volunteers.index', compact('volunteers'));
 }