private string GetViewPath(ControllerContext controllerContext, string virtualPath, string version = null)
        {
            if (string.IsNullOrEmpty(virtualPath))
            {
                return(string.Empty);
            }

            version = version ?? GetVersion(controllerContext);
            return(base.FileExists(controllerContext, virtualPath.Replace("%1%", _configuration.TryGetViewFolderPostfix(version)))
                       ? virtualPath.Replace("%1%", _configuration.TryGetViewFolderPostfix(version))
                       : virtualPath.Replace(
                       "%1%", _configuration.TryGetViewFolderPostfix(_configuration.DefaultViewsVersion)));
        }