/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $countries = Country::all();
     return view('flyers.edit', compact('countries'));
 }
 public function compose(View $view)
 {
     $view->with(['countries' => Country::all()]);
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $options = array_combine(array_values(Country::all()), array_keys(Country::all()));
     return view('flyer.create', compact('options'));
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $countries = Country::all();
     return view('flyers.create', compact('countries'));
 }