/**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     $areas = Area::where('county_id', config('app.county'))->get();
     $areas->prepend(['id' => '0', 'name' => '']);
     return view('admin.quiz.create')->withAreas($areas);
 }
 /**
  * List all areas on the homepage.
  *
  * @return \Response
  */
 public function home()
 {
     $countyId = config('app.county');
     $areas = Area::where('county_id', $countyId)->where('publish', 1)->orderBy('display_order')->get(['id', 'name', 'excerpt', 'slug', 'thumbnail', 'image']);
     return view('pages.home')->with('areas', $areas);
 }