/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Continentes::destroy($id);
     return redirect('admin/continente');
 }
Example #2
0
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     $cont = Continentes::lists('Denumire', 'id');
     return view('administrare.pages.tari.create')->with('continente', $cont);
 }