/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     RegionPartner::destroy($id);
     return redirect('/admin/regionPartners');
 }
Exemplo n.º 2
0
 public function regionPartners()
 {
     return view('home.regions.regionPartners', ['regionPartners' => RegionPartner::all()]);
 }