/**
  * @param Append $append
  *
  * @return \Illuminate\Contracts\View\View
  */
 public function render(Append $append, $prefix = 'sidebar')
 {
     $this->view = $prefix . '::' . $this->view;
     if ($append->isAuthorized()) {
         return $this->factory->make($this->view, ['append' => $append])->render();
     }
 }
 /**
  * @param Append $append
  *
  * @return \Illuminate\Contracts\View\View
  */
 public function render(Append $append)
 {
     if ($append->isAuthorized()) {
         return $this->factory->make($this->view, ['append' => $append])->render();
     }
 }