Exemplo n.º 1
0
 public function actionDelete($id)
 {
     $place = PlaceModel::readById($id);
     $place->delete();
     header('Location: /place/read');
 }