public function getUri()
    {
        if ($this->isIndex()) {
            return $this->getUriPath();
        }

        $path = $this->getUriPath().DIRECTORY_SEPARATOR.$this->getFilename();

        return trim($path, DIRECTORY_SEPARATOR);
    }