public static function editDocumentLink($path)
    {
        if (self::isLoggedIn()) {
            $path = 0 === strpos($path, '/') ? substr($path, 1) : $path;
            return Request::$subfolders . 'cms/documents/edit-document?slug=' . urlencode($path);
        } else {
            return '';
        }
    }