public function getDelete(Post $post) { $post->destroy($post->id); $post->cats()->detach(); return $this->redirector->route('post.list'); }
public function getDelete(Post $Page) { $Page->destroy($Page->id); return $this->redirector->route('page.list'); }