Beispiel #1
0
 public function getDelete(Post $ad)
 {
     if ($ad) {
         $ad->delete();
     }
     return $this->redirector->route('ad.list');
 }
Beispiel #2
0
 public function getDelete(Post $tab)
 {
     if ($tab) {
         $tab->delete();
     }
     return Redirect::route('tab.list');
 }