Ejemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Continentes::destroy($id);
     return redirect('admin/continente');
 }
Ejemplo n.º 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);
 }