예제 #1
0
 public function getDestroy($id)
 {
     $tag = Site::find($id)->tag;
     if (Site::destroy($id) && TagController::getDestroy($tag->id)) {
         echo 'empty';
     }
 }