protected function buildUrlFromPath(array $path)
    {
        // Remove root level (homepage)
        array_shift($path);

        // Homepage
        if (count($path) === 0 && $this->treeStrategy->isHomeTreeRoot()) {
            return '/';
        }

        // Build uri from tree path
        return array_reduce($path, function ($carry, NestedSetRoutingPageInterface $item) {
            $carry .= '/' . $item->getSlug();
            return $carry;
        });
    }