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