/**
  * Delete a link and go back.
  *
  * @param LinkRepositoryInterface $links
  * @param Authorizer              $authorizer
  * @param                         $id
  * @return \Illuminate\Http\RedirectResponse
  */
 public function delete(LinkRepositoryInterface $links, Authorizer $authorizer, $id)
 {
     if (!$authorizer->authorize('anomaly.module.navigation::links.delete')) {
         $this->messages->error('streams::message.access_denied');
         return $this->redirect->back();
     }
     /**
      * Force delete until we get
      * views into the tree UI.
      */
     $links->forceDelete($links->find($id));
     return $this->redirect->back();
 }
 /**
  * Delete a link and go back.
  *
  * @param LinkRepositoryInterface $links
  * @param Authorizer              $authorizer
  * @param                         $id
  * @return \Illuminate\Http\RedirectResponse
  */
 public function delete(LinkRepositoryInterface $links, Authorizer $authorizer, $id)
 {
     if (!$authorizer->authorize('anomaly.module.navigation::links.delete')) {
         $this->messages->error('streams::message.access_denied');
         return $this->redirect->back();
     }
     $links->delete($links->find($id));
     return $this->redirect->back();
 }