Exemple #1
0
 /**
  * undocumented function
  *
  * @return void
  * @author 
  **/
 public static function remove($id)
 {
     $data = City::findOrFail($id);
     return $data->delete();
 }
 /**
  * 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'));
 }