public function destroy(Page $page, URL $url) { $this->auth($page); if (!$url->isPrimary()) { URLFacade::delete($url); } }
public function postDelete() { if (!$this->url->isPrimary()) { URL::delete($this->url); } }