Helpers/FileManager.php
public function getParent()
    {
        $queryParentParameters = $this->queryParameters;
        $parentRoute = dirname($this->getCurrentRoute());

        if (DIRECTORY_SEPARATOR !== $parentRoute) {
            $queryParentParameters['route'] = dirname($this->getCurrentRoute());
        } else {
            unset($queryParentParameters['route']);
        }

        $parentRoute = $this->router->generate('file_manager', $queryParentParameters);

        return $this->getRoute() ? $parentRoute : null;
    }
public function getParent()
    {
        $queryParentParameters = $this->queryParameters;
        $parentRoute = dirname($this->getCurrentRoute());

        if (DIRECTORY_SEPARATOR !== $parentRoute) {
            $queryParentParameters['route'] = dirname($this->getCurrentRoute());
        } else {
            unset($queryParentParameters['route']);
        }

        $parentRoute = $this->router->generate('file_manager', $queryParentParameters);

        return $this->getRoute() ? $parentRoute : null;
    }
parent url