/** * 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()])))); }
/** * 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()])))); }