Ejemplo n.º 1
0
 /**
  * undocumented function
  *
  * @return void
  * @author 
  **/
 public static function remove($id)
 {
     $data = City::findOrFail($id);
     return $data->delete();
 }
Ejemplo n.º 2
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $city = $this->city->findOrFail($id);
     return View::make('cities.show', compact('city'));
 }