public override ActionResult Index(ShareThisBlock currentBlock)
        {
            var      model = new ShareThisBlockViewModel();
            PageData page  = pageRouteHelper.Page;

            model.FriendlyUrl = UriSupport.AbsoluteUrlBySettings(urlResolver.GetUrl(page.ContentLink));
            model.Settings    = currentBlock;
            return(PartialView(model));
        }
        public override ActionResult Index(ShareThisBlock currentBlock)
        {
            ShareThisBlockViewModel model = new ShareThisBlockViewModel();
            PageData myPageData           = pageRouteHelper.Page;

            var internalUrl = urlResolver.GetUrl(myPageData.PageLink);
            var url         = new UrlBuilder(internalUrl);

            Global.UrlRewriteProvider.ConvertToExternal(url, null, System.Text.Encoding.UTF8);
            var friendlyUrl = UriSupport.AbsoluteUrlBySettings(url.ToString());

            model.FriendlyUrl = friendlyUrl;

            return(PartialView(model));
        }