public function getSubMenu($uri, $all = false)
    {
        $rootUriArray = explode('/', $uri);
        $uri = $rootUriArray[0];
        if (in_array($uri, locales())) {
            if (isset($rootUriArray[1])) {
                $uri .= '/'.$rootUriArray[1]; // add next part of uri in locale
            }
        }

        $repository = Pages::where(column('uri'), '!=', $uri);

        if (!$all) {
            $repository->where(column('status'), '1');
        }

        $models = $repository->orderBy('position', 'asc')
            ->findWhere([column('uri'), 'LIKE', '\"'.$uri.'%'])
            ->noCleaning()
            ->nest();

        return $models;
    }