Exemplo n.º 1
0
 /**
  * Return the view URL.
  *
  * @return string
  */
 public function viewUrl()
 {
     return url(implode('/', array_unique(array_filter(['admin', $this->object->getStreamNamespace(), $this->object->getStreamSlug(), 'view', $this->object->getId()]))));
 }